Listening to QUIT events correctly
authorDarren <darren@darrenwhitlen.com>
Sun, 8 Jun 2014 18:59:19 +0000 (19:59 +0100)
committerDarren <darren@darrenwhitlen.com>
Sun, 8 Jun 2014 18:59:19 +0000 (19:59 +0100)
client/src/models/network.js

index f698458d1b41deb80b71f4f80dfb925cb092fca0..b71ab57724caf9b6a8de34a6600ee678daa30191 100644 (file)
             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);