From d0534897ecf9c10a1201f3dbcb3e4e64e95ce214 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Thu, 6 Oct 2022 01:40:33 -0700 Subject: [PATCH] ... --- files/routes/reporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/reporting.py b/files/routes/reporting.py index ec0546105d..45c0004985 100644 --- a/files/routes/reporting.py +++ b/files/routes/reporting.py @@ -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']: