Aevann1 2022-08-20 15:57:31 +02:00
parent 3140adfbdb
commit 2006e56bfd
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ def flag_post(pid, v):
if len(reason) > 350: return {"error": "Too long."}
if reason.startswith('!') and v.admin_level > 1:
if reason.startswith('!') and (v.admin_level > 1 or post.sub and v.mods(post.sub)):
post.flair = reason[1:]
g.db.add(post)
ma=ModAction(