summaryrefslogtreecommitdiff
path: root/commands.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands.js')
-rw-r--r--commands.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.js b/commands.js
index 5ab1d5e..59be364 100644
--- a/commands.js
+++ b/commands.js
@@ -62,7 +62,7 @@ module.exports.joinChannel = function (channel, sendJoin) {
chanTab.append("<div class='ui topic' data-id='"+numChans+"' data-tab='"+channel+"'></div>");
$('.menu .item').tab({history:false});
-
+ globals.channels.push(channel)
numChans++;
}