fix negative award commit
parent
d0e32fcb57
commit
8c6ad49127
|
@ -181,7 +181,7 @@ def award_thing(v, thing_type, id):
|
|||
|
||||
safe_username = f"@{thing.author_name} is"
|
||||
|
||||
if author.immune_to_negative_awards(v):
|
||||
if not AWARDS[kind]['positive'] and author.immune_to_negative_awards(v):
|
||||
abort(403, f"{safe_username} immune to negative awards!")
|
||||
|
||||
if kind == "benefactor" and author.id == v.id:
|
||||
|
|
Loading…
Reference in New Issue