mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
Fix privmsg.
This commit is contained in:
parent
32bee68407
commit
26ef45290a
2 changed files with 7 additions and 10 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue