mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 10:42:52 +01:00
clear out old clients; fix NameReply
This commit is contained in:
parent
c805006ab8
commit
4b98d2a45b
@ -89,7 +89,7 @@ func (reply *NumericReply) String() string {
|
||||
// names reply
|
||||
|
||||
type NamesReply struct {
|
||||
*BaseReply
|
||||
BaseReply
|
||||
channel *Channel
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user