From 549097e58a9366ab76606dc5122f09d7a0296cb8 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 5 Apr 2024 12:32:32 +0200 Subject: [PATCH] protect long posts from glowie award --- files/routes/awards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 29d0831f2..eb69879dd 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -177,7 +177,7 @@ def award_thing(v, thing_type, id): if v.shadowbanned: return {"message": f"{award_title} award given to {thing_type} successfully!"} - if obj.is_longpost and kind in {"ectoplasm", "candycorn", "candycane", "stab", "tilt", "queen", "chud", "marsify", "Furry", "Edgy", "Femboy", "Furry Founder", "Edgy Founder", "Femboy Founder"}: + if obj.is_longpost and kind in {"ectoplasm", "candycorn", "candycane", "stab", "glowie", "tilt", "queen", "chud", "marsify", "Furry", "Edgy", "Femboy", "Furry Founder", "Edgy Founder", "Femboy Founder"}: abort(403, f'Long posts are protected from the {award_title} award!') award = g.db.query(AwardRelationship).filter(