revise award immunity

master
Aevann1 2022-09-22 00:28:58 +02:00
parent 201208e673
commit 955cee3f83
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def award_thing(v, thing_type, id):
author = thing.author
if author.id in (PIZZASHILL_ID, DAD_ID, CARP_ID) and v.id not in (PIZZASHILL_ID, DAD_ID, CARP_ID):
if author.id in (PIZZASHILL_ID, CARP_ID):
return {"error": "This user is immune to awards."}, 403
if kind == "benefactor" and author.id == v.id: