Guard against duplicate filters

This protects against adding multiple filters of the same thing
This commit is contained in:
Zedifus 2022-10-22 19:28:13 +01:00
parent f3e41861d2
commit cb6e034f30

View File

@ -143,6 +143,8 @@
return;
}
if (words.includes(safe_word)) return;
// Display filtered word
words.push(word);
$("#ignored-words").append(