From 68673292c1701610e3702becc2781ce42172bf57 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 27 Dec 2022 04:10:22 +0200 Subject: [PATCH] Revert "notify idio3 too" This reverts commit ee264631b935c9febe5df495011b8ff146ab00c3. --- files/helpers/actions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/actions.py b/files/helpers/actions.py index f12507967..309e4d160 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -379,7 +379,7 @@ def execute_blackjack(v, target, body, type): elif hasattr(target, 'is_banned'): target.is_banned = True - if CARP_ID and AEVANN_ID and IDIO_ID: + if CARP_ID and AEVANN_ID: extra_info = "unknown entity" if type == 'submission': @@ -391,14 +391,14 @@ def execute_blackjack(v, target, body, type): elif type == 'modmail': extra_info = "modmail" elif type in {'comment', 'message'}: - for id in (CARP_ID, AEVANN_ID, IDIO_ID): + for id in (CARP_ID, AEVANN_ID): n = Notification(comment_id=target.id, user_id=id) g.db.add(n) g.db.flush() extra_info = None if extra_info: - for id in (CARP_ID, AEVANN_ID, IDIO_ID): + for id in (CARP_ID, AEVANN_ID): send_repeatable_notification(id, f"Blackjack for @{v.username}: {extra_info}") return False return True