aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/filtering.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py
index d9cb2bb82..c6da923ae 100644
--- a/bot/cogs/filtering.py
+++ b/bot/cogs/filtering.py
@@ -168,11 +168,11 @@ class Filtering:
the blacklisted URLs from the config file.
"""
- if not re.search(URL_RE, text):
+ if not re.search(URL_RE.lower(), text.lower()):
return False
for url in Filter.domain_blacklist:
- if url in text:
+ if url.lower() in text.lower():
return True
return False