logs: ignore cases on hellgex

This commit is contained in:
Ave Ozkal 2019-03-03 22:41:06 +03:00
parent a3514c3f9a
commit e6f7143405
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -25,7 +25,7 @@ class Logs(Cog):
"nut", "doge", "cdnsp"] # cdn dlers/dumpers
susp_hellgex = "|".join([r"\W*".join(list(word)) for
word in self.susp_words])
self.susp_hellgex = re.compile(susp_hellgex)
self.susp_hellgex = re.compile(susp_hellgex, re.IGNORECASE)
self.ok_words = ["nspwn", "hblnsp", "exefs"]