fix
This commit is contained in:
parent
936c07eb9c
commit
1e1fb8885f
|
@ -330,7 +330,6 @@ class ChatFilter {
|
|||
if (reg.test(url)) blocked = true;
|
||||
}
|
||||
else if (string.indexOf("<") != 0) {
|
||||
console.log(string.replace(/\n/g, "\s\n\s").split(" "))
|
||||
string.replace(/\n/g, " \n ").split(" ").forEach((word) => {
|
||||
if (word && reg.test(word)) blocked = true;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue