Remove a last mention of blacklist

Danke luto.
This commit is contained in:
Raphael Michel
2020-11-10 13:14:49 +01:00
committed by GitHub
parent eae1fc9a81
commit 6c29fc0117

View File

@@ -73,8 +73,8 @@ banlist = [
"wtf"
]
blacklist_regex = re.compile('(' + '|'.join(banlist) + ')')
banlist_regex = re.compile('(' + '|'.join(banlist) + ')')
def banned(string):
return bool(blacklist_regex.search(string.lower()))
return bool(banlist_regex.search(string.lower()))