From 36a0d48fe610c9b0d4a6fdb8f1a144eee5ee63c8 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 20 Nov 2022 19:21:19 +0200 Subject: [PATCH] sneed --- files/routes/votes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index 73bef7d215..a3a603e4b8 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -147,16 +147,16 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): mul = 1 if target.author.progressivestack or target.author.id in BOOSTED_USERS: mul = 2 - elif cls == Submission and target.author.id not in BOOSTED_USERS_EXCLUDED: + elif cls == Submission: if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES: mul = 2 elif target.sub and target.sub not in UNNERFED_HOLES: mul = 0.7 - elif not target.sub and target.body_html: + elif not target.sub and target.body_html and target.author.id not in BOOSTED_USERS_EXCLUDED: x = target.body_html.count('" target="_blank" rel="nofollow noopener">') x += target.body_html.count('