From ad769155dab4826bd453fc71ba20e483f3d3e06e Mon Sep 17 00:00:00 2001 From: Evert Date: Mon, 26 Sep 2016 19:02:20 +0300 Subject: [PATCH] idk --- public/js/main.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 0325deb..98669c7 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -949,6 +949,11 @@ class Settings extends Buffer { } } + addMessage(message, sender, type, time) { + // Don't send messages to the settings buffer + return; + } + switchOff() { this.active = false; this.tab.setActive(false); @@ -1019,6 +1024,7 @@ class IRCConnector { } if(window.location.hash) clientdom.connector.channel.value = window.location.hash; + if(window.location.pathname.length > 4) { let t1 = window.location.pathname.substring(1, window.location.pathname.length-1); let proposed = ""; @@ -1159,9 +1165,6 @@ class InputHandler { this.tabWords[n] += ": "; } - // Emit the number of matching words with the 'match' event. - // self.trigger("match", words.length); - if (this.backspace) { this.backspace = false; }