make chud award not affect comment when author has deflector

master
Aevann 2023-08-14 13:14:14 +03:00
parent a8d988e660
commit 8df49c50da
1 changed files with 1 additions and 2 deletions

View File

@ -382,9 +382,8 @@ def award_thing(v, thing_type, id):
badge_grant(user=author, badge_id=58)
if thing_type == 'comment':
if thing_type == 'comment' and not thing.author.deflector:
thing.chudded = True
elif kind == "flairlock":
new_name = note[:100]
if not new_name and author.flairchanged: