From ea2bd29a47c54fce8b1570454b9bb860dcf2c255 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 30 Oct 2022 00:16:58 +0200 Subject: [PATCH] fix d9ef62b9c632b0489b14cdbbd75361eaade8dccd --- 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 3c7843b9c..f5478a53a 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -250,7 +250,7 @@ def award_thing(v, thing_type, id): if author.marseyawarded: abort(409, "This user is under the effect of a conflicting award: Marsey award.") - if author.agendaposter and author.agendaposter == 0: + if author.agendaposter == 1: abort(409, "This user is perma-chudded.") if author.agendaposter and time.time() < author.agendaposter: author.agendaposter += 86400