allow me and sneks to award carp and pizzashill

pull/2/head
Aevann1 2022-11-21 03:11:54 +02:00
parent 220409c8fb
commit 0c9ed95c55
1 changed files with 1 additions and 1 deletions

View File

@ -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: