summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.js b/index.js
index 7effc5b..223fd94 100644
--- a/index.js
+++ b/index.js
@@ -98,7 +98,7 @@ $("#send-message").keypress(function(e) {
var message = $("#send-message").val();
var channel = $(".tab.active").attr("data-tab").replace("chan-", "#")
if (message.indexOf("/join") == 0) {
- joinChannel(message.substring(6, message.length));
+ joinChannel(message.substring(6, message.length), true);
} else if (message.indexOf("/part") == 0) {
if (message.length > 6) {
channel = message.substring(6, message.length);
@@ -242,7 +242,7 @@ client.addListener('error', function(message) {
client.addListener('registered', function() {
channels.forEach(function(channel) {
- joinChannel(channel);
+ joinChannel(channel, false);
});
});