From 0c9ed95c5502ea8bf094a19f93292707a99e7bfa Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 21 Nov 2022 03:11:54 +0200 Subject: [PATCH] allow me and sneks to award carp and pizzashill --- 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 dc4ecffc2..694a16a97 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -163,7 +163,7 @@ def award_thing(v, thing_type, id): note = request.values.get("note", "").strip() - if SITE == 'rdrama.net' and author.id in (PIZZASHILL_ID, CARP_ID): + if SITE == 'rdrama.net' and author.id in (PIZZASHILL_ID, CARP_ID) and v.id not in (AEVANN_ID, SNAKES_ID): abort(403, f"@{author.username} is immune to awards.") if kind == "benefactor" and author.id == v.id: