forked from rDrama/rDrama
use a set instead :marseyautism:
parent
569d76ab38
commit
dc16683e18
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue