use a set instead :marseyautism:

pull/98/head
Aevann 2023-01-25 07:03:30 +02:00
parent 569d76ab38
commit dc16683e18
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ def award_thing(v, thing_type, id):
else:
safe_username = f"@{author.username}"
if SITE == 'rdrama.net' and author.id in (PIZZASHILL_ID, CARP_ID):
if SITE == 'rdrama.net' and author.id in {PIZZASHILL_ID, CARP_ID}:
abort(403, f"{safe_username} is immune to awards.")
if kind == "benefactor" and author.id == v.id: