Updated FilterKeywords class (zerrium package)

This commit is contained in:
zerrium 2021-03-18 11:53:05 +07:00
parent 110db39ff6
commit 8f3ade92c3
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ public class FilterKeywords {
public static boolean filter(String word){
if(word == null) return false;
word = word.toLowerCase();
for(String s:FILTER_KEYWORDS){
if(word.contains(s)) return true;
}