remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-10-06 01:40:33 -07:00
parent e93e2d9ca9
commit d0534897ec
1 changed files with 1 additions and 1 deletions

View File

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