fix crash on renaming self

--HG--
branch : nmdc-ircfrontend
This commit is contained in:
. 2016-05-10 19:08:19 +12:00
parent 0df6237005
commit fb34cefc46

View File

@ -356,8 +356,8 @@ func (s *Server) handleCommand(command string, args []string) {
s.upstream.Disconnect() s.upstream.Disconnect()
} }
s.reply(rplKill, "Can't change nicks on this server.") //s.reply(rplKill, "Can't change nicks on this server.")
s.DisconnectClient() //s.DisconnectClient()
} }
case "USER": case "USER":