This commit is contained in:
Mirco Wittrien 2018-10-23 10:50:34 +02:00
parent 936c07eb9c
commit 1e1fb8885f
1 changed files with 0 additions and 1 deletions

View File

@ -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;
});