From 641f5b6bbd71693273e009cf96791223dafef996 Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 8 Jun 2014 19:59:19 +0100 Subject: [PATCH] Listening to QUIT events correctly --- client/src/models/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1