From 7e57295ef2e29cfdac34e41d32ab08fb2cd92cfb Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Wed, 6 May 2015 03:05:11 -0400 Subject: [PATCH] Update Ignore Spectators It now only ignores no-rank and voices, so moderators and players aren't ignored. --- js/battle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/battle.js b/js/battle.js index 31e829289..ec564ce4e 100644 --- a/js/battle.js +++ b/js/battle.js @@ -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();