Would've been better if I didn't misread the docs for "match" and had
realized my last change didn't actually work. We'll FIND stop words in text now so our regexp doesn't have to match the whole string. Took a peek at the as docs for RegExp.test() and it looks like the flash side of things should be working properly after Ray duplicated this over there, but I wouldn't mind if someone w/ that built could just double check that stopwords are still working properly there. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5769 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -75,7 +75,7 @@ public abstract class CurseFilter implements ChatFilter
|
||||
{
|
||||
// first, check against the drop-always list
|
||||
_stopMatcher.reset(msg);
|
||||
if (_stopMatcher.matches()) {
|
||||
if (_stopMatcher.find()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user