From 7ee1060e33ff0250bd8907a96077428c9bfb7098 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 29 Oct 2023 02:44:44 +0300 Subject: [PATCH] protect effortposts from stab award (mainly for comments tbh) --- 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 f87bdfe95..930232b2f 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -548,7 +548,7 @@ def award_thing(v, thing_type, id): badge_grant(badge_id=185, user=author) if v.id == author.id: session['event_music'] = False - elif kind in {"ectoplasm", "candy-corn"}: + elif kind in {"ectoplasm", "candy-corn", "stab"}: if thing.is_effortpost: abort(403, f'Effortposts are protected from the {award_title} award!') elif kind == "spider":