From 2006e56bfd3998763d0c3378e2d301a11eb82fcf Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 20 Aug 2022 15:57:31 +0200 Subject: [PATCH] do this https://rdrama.org/h/braincels/post/95884/attn-brocels/2548322?context=8#context --- 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 9008c6701..08d4b705b 100644 --- a/files/routes/reporting.py +++ b/files/routes/reporting.py @@ -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(