Nick changes get handled properly by the server IRC client, user count stays hidden when the selected tab is not a channel

This commit is contained in:
khlieng 2015-02-07 00:16:51 +01:00
parent 0a47f2ae4a
commit e942924c15
5 changed files with 27 additions and 20 deletions

View file

@ -120,7 +120,7 @@ func handleWS(ws *websocket.Conn) {
json.Unmarshal(req.Request, &data)
if irc, ok := session.getIRC(data.Server); ok {
channelStore.RemoveUserAll(irc.nick, data.Server)
channelStore.RemoveUserAll(irc.GetNick(), data.Server)
session.user.RemoveServer(data.Server)
irc.Quit()
}