From eb12464d433ef684589ba6fa16fb458c60dd71e1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 22 Sep 2022 00:30:12 +0200 Subject: [PATCH] make award immunity only in rdrama --- 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 f5ddefca92..ca8a682932 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -166,7 +166,7 @@ def award_thing(v, thing_type, id): author = thing.author - if author.id in (PIZZASHILL_ID, CARP_ID): + if SITE == 'rdrama.net' and author.id in (PIZZASHILL_ID, CARP_ID): return {"error": "This user is immune to awards."}, 403 if kind == "benefactor" and author.id == v.id: