Modmail: constantify missed magic numbers

This commit is contained in:
justcool393 2023-02-16 22:30:57 -06:00 committed by Ben Rog-Wilhelm
parent 1574c46d0a
commit 50b6e06f62
5 changed files with 5 additions and 5 deletions

View file

@ -666,7 +666,7 @@ def messagereply(v):
)
if c.top_comment.sentto == 2:
if c.top_comment.sentto == MODMAIL_ID:
admins = g.db.query(User).filter(User.admin_level > 2, User.id != v.id).all()
for admin in admins:
notif = Notification(comment_id=c.id, user_id=admin.id)