From 388c19ed43507dff119824ff1734533f6d001632 Mon Sep 17 00:00:00 2001 From: Kirk Scheibelhut Date: Wed, 12 Jun 2019 09:18:42 -0700 Subject: [PATCH] Correctly hide tournaments after #1294 Fixes #1298 --- js/client-chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-chat.js b/js/client-chat.js index e5d5761a5..7754abc2a 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -1366,7 +1366,7 @@ case 'tournament': case 'tournaments': - if (Dex.prefs('notournaments')) { + if (Dex.prefs('tournaments') === 'hide') { if (row[1] === 'create') { this.$chat.append('
' + BattleLog.escapeFormat(row[2]) + ' ' + BattleLog.escapeHTML(row[3]) + ' tournament created (and hidden because you have tournaments disabled).
'); } else if (row[1] === 'start') {