diff --git a/plugins/fediverse.py b/plugins/fediverse.py index 85d734a..30e578f 100644 --- a/plugins/fediverse.py +++ b/plugins/fediverse.py @@ -72,7 +72,7 @@ def test(self, filtered, data, webserver, port, scheme, method, url): return False # check if the text contains any of the bad domains - bad_domains = list(filter(None, map(str.strip, bad_domain.split(","))) + bad_domains = list(filter(None, map(str.strip, bad_domain.split(",")))) if bool(re.search(r"https://(" + "|".join(re.escape(domain) for domain in bad_domains) + ")", text)): logger.warning("[*] Found a bad reputation domain.") logger.warning("[*] BLOCKED MESSAGE: %s" % (text))