mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-09 20:38:45 -05:00
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.
This commit is contained in:
@@ -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 === ';') {
|
||||
|
||||
Reference in New Issue
Block a user