make award immunity only in rdrama

master
Aevann1 2022-09-22 00:30:12 +02:00
parent 955cee3f83
commit eb12464d43
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 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 return {"error": "This user is immune to awards."}, 403
if kind == "benefactor" and author.id == v.id: if kind == "benefactor" and author.id == v.id: