diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index d6e56d1e8..a9bbcd2e9 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -131,7 +131,7 @@ def send_admin(vid, text): def NOTIFY_USERS(text, vid): text = text.lower() notify_users = set() - for word, id in NOTIFIED_USERS: + for word, id in NOTIFIED_USERS.items(): if id == 0: continue if word in text and id not in notify_users and vid != id: notify_users.add(id) return notify_users \ No newline at end of file