forked from MarseyWorld/MarseyWorld
make award immunity only in rdrama
parent
955cee3f83
commit
eb12464d43
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue