From 539b7c3b582a69b2c8b8871903b2bd7c4065cbf1 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 9 Oct 2024 03:11:52 +0900 Subject: [PATCH] Update fediverse.py --- plugins/fediverse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/fediverse.py b/plugins/fediverse.py index 003ae25..45d941d 100644 --- a/plugins/fediverse.py +++ b/plugins/fediverse.py @@ -75,7 +75,8 @@ class Fediverse(Extension): # check if the text contains any of the bad domains 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("[*] Found a bad reputation domain.") + logger.info("[*] BLOCKED MESSAGE: %s" % (text)) return True # check ID with K-Anonymity strategy