From: Darren Date: Sun, 8 Jun 2014 18:59:19 +0000 (+0100) Subject: Listening to QUIT events correctly X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=641f5b6bbd71693273e009cf96791223dafef996;p=KiwiIRC.git Listening to QUIT events correctly --- diff --git a/client/src/models/network.js b/client/src/models/network.js index f698458..b71ab57 100644 --- a/client/src/models/network.js +++ b/client/src/models/network.js @@ -127,8 +127,8 @@ this.gateway.on('motd', onMotd, this); this.gateway.on('channel:join', onJoin, this); this.gateway.on('channel:part', onPart, this); - this.gateway.on('channel:quit', onQuit, this); this.gateway.on('channel:kick', onKick, this); + this.gateway.on('quit', onQuit, this); this.gateway.on('message', onMessage, this); this.gateway.on('nick', onNick, this); this.gateway.on('ctcp_request', onCtcpRequest, this);