chat filter: fix filtering messages containing nbsp
The chat history plugin replays messages by replacing spaces with nbsp to avoid triggering notifications and chat commands, and this was preventing the chat filter from filtering replayed messages. censorMessage already does a nbsp to space replacement.
This commit is contained in:
@@ -34,6 +34,6 @@ class JagexPrintableCharMatcher extends CharMatcher
|
||||
// Characters which are printable
|
||||
return (c >= 32 && c <= 126)
|
||||
|| c == 128
|
||||
|| (c >= 161 && c <= 255);
|
||||
|| (c >= 160 && c <= 255);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user