fix(client): correct typo in handleCMDEHLO function name

This commit is contained in:
tux
2026-02-19 17:06:39 +05:30
parent f586506180
commit e451f17df0

View File

@@ -64,7 +64,7 @@ func (t *Trok) ControlConnHandler(conn net.Conn) {
switch m.CMD { switch m.CMD {
case "EHLO": case "EHLO":
go t.hanldeCMDEHLO(m) go t.handleCMDEHLO(m)
case "CNCT": case "CNCT":
go t.handleCMDCNCT(m) 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, ":") parts := strings.Split(t.serverAddr, ":")
log.Info().Msgf("[CMD] %s [ARG] %s:%s", m.CMD, parts[0], m.ARG) log.Info().Msgf("[CMD] %s [ARG] %s:%s", m.CMD, parts[0], m.ARG)
} }