From 0e5b3aa84cd0d02cea2e5388189448dba30b1d2c Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sun, 28 Oct 2018 11:47:21 -0400 Subject: [PATCH] Stop reporting failed assertions We had a great run, but honestly I don't have anything particularly interesting to do with this data, so I'm turning it off now. --- js/client.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/js/client.js b/js/client.js index b982c669b..6c85f0855 100644 --- a/js/client.js +++ b/js/client.js @@ -213,14 +213,7 @@ if (assertion.charAt(0) === '\r') assertion = assertion.slice(1); if (assertion.charAt(0) === '\n') assertion = assertion.slice(1); if (assertion.indexOf('<') >= 0) { - if (assertion.indexOf('accessdenied') >= 0) { - app.addPopupMessage("Your internet filter is blocking Pokémon Showdown."); - return; - } - app.addPopupMessage("Something is interfering with our connection to the login server."); - assertion = assertion.replace(/[\r\n]+/g, ' '); - // send to server anyway in case server knows how to deal with it - app.send('/trn ' + name + ',0,' + assertion); + app.addPopupMessage("Something is interfering with our connection to the login server. Most likely, your internet provider needs you to re-log-in, or your internet provider is blocking Pokémon Showdown."); return; } if (assertion === ';') {