mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-03 16:22:48 -05:00
Update Ignore Spectators
It now only ignores no-rank and voices, so moderators and players aren't ignored.
This commit is contained in:
@@ -5328,7 +5328,7 @@ var Battle = (function () {
|
||||
case 'chat':
|
||||
case 'c':
|
||||
name = args[1];
|
||||
if (this.ignoreSpects && !this.getSide(name).battle) break;
|
||||
if (this.ignoreSpects && (name.charAt(0) === ' ' || name.charAt(0) === '+')) break;
|
||||
if (window.app && app.ignore && app.ignore[toUserid(name)]) break;
|
||||
args.shift();
|
||||
args.shift();
|
||||
|
||||
Reference in New Issue
Block a user