Fix privmsg.

This commit is contained in:
Jeremy Latt 2012-12-11 23:34:41 -08:00
parent 32bee68407
commit 26ef45290a
2 changed files with 7 additions and 10 deletions

View file

@ -102,7 +102,7 @@ func (s *Server) ChangeNick(c *Client, newNick string) {
if c.nick != "" {
delete(s.nicks, c.nick)
}
s.nicks[c.nick] = c
s.nicks[newNick] = c
s.SendToInterestedClients(c, RplNick(c, newNick))