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:
parent
9f5de2364e
commit
96cc2ea787
3 changed files with 5 additions and 1 deletions
|
@ -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
2
script.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue