From 5b0e62ef3c34d8ff8935b6b7801172b9cd335f09 Mon Sep 17 00:00:00 2001 From: encrypt Date: Thu, 26 Mar 2020 21:45:33 +0100 Subject: [PATCH] fix indentation and remove debug log --- app/index.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/index.js b/app/index.js index 5c9496f..132f7da 100644 --- a/app/index.js +++ b/app/index.js @@ -362,7 +362,7 @@ class GlobalBindings { this.connector.connect(`wss://${host}:${port}`, { username: username, password: password, - tokens: tokens + tokens: tokens }).done(client => { log('Connected!') @@ -378,12 +378,11 @@ class GlobalBindings { // Register all channels, recursively - if(channelName.indexOf("/") != 0) { - channelName = "/"+channelName; - } + if(channelName.indexOf("/") != 0) { + channelName = "/"+channelName; + } const registerChannel = (channel, channelPath) => { this._newChannel(channel) - console.log(channelPath) if(channelPath === channelName) { console.log(channel) client.self.setChannel(channel)