mirror of
https://github.com/tuxdotrs/trok.git
synced 2026-03-21 22:06:33 +05:30
fix(client): correct typo in handleCMDEHLO function name
This commit is contained in:
@@ -64,7 +64,7 @@ func (t *Trok) ControlConnHandler(conn net.Conn) {
|
||||
switch m.CMD {
|
||||
|
||||
case "EHLO":
|
||||
go t.hanldeCMDEHLO(m)
|
||||
go t.handleCMDEHLO(m)
|
||||
|
||||
case "CNCT":
|
||||
go t.handleCMDCNCT(m)
|
||||
@@ -78,7 +78,7 @@ func (t *Trok) ControlConnHandler(conn net.Conn) {
|
||||
}
|
||||
}
|
||||
|
||||
func (t *Trok) hanldeCMDEHLO(m *lib.Message) {
|
||||
func (t *Trok) handleCMDEHLO(m *lib.Message) {
|
||||
parts := strings.Split(t.serverAddr, ":")
|
||||
log.Info().Msgf("[CMD] %s [ARG] %s:%s", m.CMD, parts[0], m.ARG)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user