mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-27 01:18:10 -07:00
clear out old clients; fix NameReply
This commit is contained in:
@@ -67,6 +67,7 @@ func (server *Server) receiveCommands(commands <-chan Command) {
|
||||
// no-op
|
||||
default:
|
||||
client.Reply(ErrPasswdMismatch(server))
|
||||
server.clients.Remove(client)
|
||||
client.Destroy()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user