forked from rDrama/rDrama
respect the dead
parent
167b04543c
commit
569d76ab38
|
@ -171,7 +171,7 @@ def award_thing(v, thing_type, id):
|
||||||
else:
|
else:
|
||||||
safe_username = f"@{author.username}"
|
safe_username = f"@{author.username}"
|
||||||
|
|
||||||
if SITE == 'rdrama.net' and author.id == PIZZASHILL_ID:
|
if SITE == 'rdrama.net' and author.id in (PIZZASHILL_ID, CARP_ID):
|
||||||
abort(403, f"{safe_username} is immune to awards.")
|
abort(403, f"{safe_username} is immune to awards.")
|
||||||
|
|
||||||
if kind == "benefactor" and author.id == v.id:
|
if kind == "benefactor" and author.id == v.id:
|
||||||
|
|
Loading…
Reference in New Issue