fix negative award commit

pull/211/head
Aevann 2023-10-02 17:50:04 +03:00
parent d0e32fcb57
commit 8c6ad49127
1 changed files with 1 additions and 1 deletions

View File

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