forked from MarseyWorld/MarseyWorld
do what dwhite wants
parent
3dd4ef5342
commit
d76d1dfbbe
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue