Modmail: constantify missed magic numbers
This commit is contained in:
parent
1574c46d0a
commit
50b6e06f62
5 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue