diff options
author | Riley <49880817+DerZombiiie@users.noreply.github.com> | 2022-04-21 11:58:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 11:58:52 +0200 |
commit | 0ad262edacf6353650fa4f964dfc8f8e06100089 (patch) | |
tree | 014358949d99720740f53345f67810645d48903a /process.go | |
parent | d8ab310c2ef38c3a491794c1a288c382aa572285 (diff) |
Update process.go
Diffstat (limited to 'process.go')
-rw-r--r-- | process.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -537,14 +537,15 @@ func (sc *ServerConn) process(pkt mt.Pkt) { return case *mt.ToCltKick: + sc.Log("<-", "deny access", cmd) + // if Shutdown if cmd.Reason == mt.Shutdown || cmd.Reason == mt.Crash || cmd.Reason == mt.SrvErr || cmd.Reason == cmd.TooManyClts || cmd.Reason == cmd.UnsupportedVer { - clt.SendChatMsg("[ERROR] ", cmd.String()) + clt.SendChatMsg(cmd.String()) clt.Hop(FallbackServers(sc.name)[0]) return } - sc.Log("<-", "deny access", cmd) ack, _ := clt.SendCmd(cmd) select { |