clear out old clients; fix NameReply

This commit is contained in:
Jeremy Latt
2014-02-13 11:06:07 -08:00
parent c805006ab8
commit 4b98d2a45b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ func (reply *NumericReply) String() string {
// names reply
type NamesReply struct {
*BaseReply
BaseReply
channel *Channel
}
+1
View File
@@ -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
}