From f87a137e9663e6ca260bfe3a021fa0fdaf0ea5d8 Mon Sep 17 00:00:00 2001 From: panpawn Date: Fri, 18 Nov 2016 01:07:15 -0500 Subject: [PATCH] Roomsettings: Fix a couple of bugs (#2900) These were just a few typos that messed up roomsettings a little bit. --- chat-plugins/roomsettings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chat-plugins/roomsettings.js b/chat-plugins/roomsettings.js index 8c688c2551..e73200c083 100644 --- a/chat-plugins/roomsettings.js +++ b/chat-plugins/roomsettings.js @@ -101,7 +101,7 @@ class RoomSettings { if (this.room.slowchat === i) { slowchatOutput.push(this.button(`${i}s`, true)); } else { - slowchatOutput.push(this.button(`{i}s`, null, `slowchat ${i}`)); + slowchatOutput.push(this.button(`${i}s`, null, `slowchat ${i}`)); } } if (!this.room.slowchat) { @@ -119,7 +119,7 @@ class RoomSettings { } else if (this.room.toursEnabled === '%') { return this.button('%', true) + this.button('@', null, 'tournament enable @') + this.button('#', null, 'tournament disable'); } else { - return this.button('%', null, 'tournament enable %') + this.button('@', 'tournament enable @') + this.button('#', true); + return this.button('%', null, 'tournament enable %') + this.button('@', null, 'tournament enable @') + this.button('#', true); } } generateDisplay(user, room, connection) {