mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-26 08:37:29 +00:00
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){
|
public static boolean filter(String word){
|
||||||
if(word == null) return false;
|
if(word == null) return false;
|
||||||
|
word = word.toLowerCase();
|
||||||
for(String s:FILTER_KEYWORDS){
|
for(String s:FILTER_KEYWORDS){
|
||||||
if(word.contains(s)) return true;
|
if(word.contains(s)) return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user