From 96a85bd1406b65e42ff949122da9ee3646d9a1c1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 18 Feb 2023 19:09:33 +0200 Subject: [PATCH] remove temp code --- files/helpers/alerts.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 54cb646ee..a004cf47e 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -120,10 +120,9 @@ def NOTIFY_USERS(text, v): notify_users.add(id) if '!biofoids' in text and SITE == 'rdrama.net': - if v.id != AEVANN_ID: - if v.id not in BIOFOIDS: - abort(403, "Only members of the ping group can ping it!") - notify_users.update(BIOFOIDS) + if v.id not in BIOFOIDS: + abort(403, "Only members of the ping group can ping it!") + notify_users.update(BIOFOIDS) names = set(m.group(2) for m in mention_regex.finditer(text)) for user in get_users(names, graceful=True):