summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
}