summaryrefslogtreecommitdiff
path: root/commands.js
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2016-10-16 21:05:57 +0100
committerJoe Robinson <joe@lc8n.com>2016-10-16 21:05:57 +0100
commitf13842bc63f002e456727d1a48239d4e044d0c75 (patch)
tree8bab949f76193239f274df703bc883b9ddd71e1a /commands.js
parent63405f05a0406e55daf1fb4bfb00b324f2bf5f7e (diff)
Add join, part, and quit handlers
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++;
}