1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-29 15:55:33 +00:00

One last bugfix from last night's tired mess of coding regarding deleted words.

This commit is contained in:
SirStendec 2015-08-09 13:08:04 -04:00
parent 9f5de2364e
commit 96cc2ea787
3 changed files with 5 additions and 1 deletions

View file

@ -4630,6 +4630,8 @@ FFZ.prototype._remove_banned = function(tokens) {
} else if ( has_banned_words ) } else if ( has_banned_words )
new_tokens.push(token.replace(regex, "$1***")); new_tokens.push(token.replace(regex, "$1***"));
else
new_tokens.push(token);
} }
return new_tokens; return new_tokens;

2
script.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -865,6 +865,8 @@ FFZ.prototype._remove_banned = function(tokens) {
} else if ( has_banned_words ) } else if ( has_banned_words )
new_tokens.push(token.replace(regex, "$1***")); new_tokens.push(token.replace(regex, "$1***"));
else
new_tokens.push(token);
} }
return new_tokens; return new_tokens;