Improve nick change handling

This commit is contained in:
Ken-Håvard Lieng 2017-04-11 06:04:59 +02:00
parent 0a6d8bfb20
commit e84f2dd993
4 changed files with 22 additions and 8 deletions

View file

@ -171,7 +171,6 @@ func (h *wsHandler) nick(b []byte) {
if i, ok := h.session.getIRC(data.Server); ok {
i.Nick(data.New)
go h.session.user.SetNick(data.New, data.Server)
}
}