summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Robinson <joe@grabyo.com>2016-10-14 16:04:27 +0100
committerJoe Robinson <joe@grabyo.com>2016-10-14 16:04:27 +0100
commitc797f12928e65722beea1265d0383fb10db010f3 (patch)
tree98f0ed1e7defb5e34559df35a20916923f395bb4
parent1f5fde4effd36962cba89f135e9d1fce06f25691 (diff)
Fix user list
-rw-r--r--handlers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers.js b/handlers.js
index 6769b53..0e26d7f 100644
--- a/handlers.js
+++ b/handlers.js
@@ -21,7 +21,7 @@ module.exports.handleCommands = function(myClient) {
})
client.on('userlist', function(event) {
-
+ channel = event.channel
if($(".ui.tab[data-tab='"+channel+"']").length == 0) {
joinChannel(channel, false)
}