diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 309e4d160..f12507967 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: + if CARP_ID and AEVANN_ID and IDIO_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): + for id in (CARP_ID, AEVANN_ID, IDIO_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): + for id in (CARP_ID, AEVANN_ID, IDIO_ID): send_repeatable_notification(id, f"Blackjack for @{v.username}: {extra_info}") return False return True