Updated FilterKeywords class (zerrium package)
This commit is contained in:
parent
110db39ff6
commit
8f3ade92c3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user