This commit is contained in:
Evert Prants 2016-09-26 19:02:20 +03:00
parent 98b4e68285
commit ad769155da

View File

@ -949,6 +949,11 @@ class Settings extends Buffer {
} }
} }
addMessage(message, sender, type, time) {
// Don't send messages to the settings buffer
return;
}
switchOff() { switchOff() {
this.active = false; this.active = false;
this.tab.setActive(false); this.tab.setActive(false);
@ -1019,6 +1024,7 @@ class IRCConnector {
} }
if(window.location.hash) if(window.location.hash)
clientdom.connector.channel.value = window.location.hash; clientdom.connector.channel.value = window.location.hash;
if(window.location.pathname.length > 4) { if(window.location.pathname.length > 4) {
let t1 = window.location.pathname.substring(1, window.location.pathname.length-1); let t1 = window.location.pathname.substring(1, window.location.pathname.length-1);
let proposed = ""; let proposed = "";
@ -1159,9 +1165,6 @@ class InputHandler {
this.tabWords[n] += ": "; this.tabWords[n] += ": ";
} }
// Emit the number of matching words with the 'match' event.
// self.trigger("match", words.length);
if (this.backspace) { if (this.backspace) {
this.backspace = false; this.backspace = false;
} }