From 8df49c50daf45a21232e792730d2054673a320b6 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 14 Aug 2023 13:14:14 +0300 Subject: [PATCH] make chud award not affect comment when author has deflector --- files/routes/awards.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index d976201fd..a5dc76ca9 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -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: