do what dwhite wants

master
Aevann 2024-02-06 01:52:34 +02:00
parent 3dd4ef5342
commit d76d1dfbbe
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, obj=None, followers_ping=Tr
user_ids = get_users(names, ids_only=True, graceful=True)
notify_users.update(user_ids)
if SITE_NAME == "WPD" and 'daisy' in text:
if SITE_NAME == "WPD" and ('daisy' in text or 'kill myself' in text):
admin_ids = [x[0] for x in g.db.query(User.id).filter(User.admin_level >= PERMS['NOTIFICATIONS_SPECIFIC_WPD_COMMENTS'])]
notify_users.update(admin_ids)