forked from MarseyWorld/MarseyWorld
allow me and sneks to award carp and pizzashill
parent
220409c8fb
commit
0c9ed95c55
|
@ -163,7 +163,7 @@ def award_thing(v, thing_type, id):
|
|||
note = request.values.get("note", "").strip()
|
||||
|
||||
|
||||
if SITE == 'rdrama.net' and author.id in (PIZZASHILL_ID, CARP_ID):
|
||||
if SITE == 'rdrama.net' and author.id in (PIZZASHILL_ID, CARP_ID) and v.id not in (AEVANN_ID, SNAKES_ID):
|
||||
abort(403, f"@{author.username} is immune to awards.")
|
||||
|
||||
if kind == "benefactor" and author.id == v.id:
|
||||
|
|
Loading…
Reference in New Issue