From 3044499f5e3f906ed0adff2dd0689fb19ebd60fd Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 15 Mar 2023 06:01:33 +0200 Subject: [PATCH] do what slackernews wants --- files/routes/votes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index d61cb90ca1..b403829c9c 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -169,12 +169,12 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): mul = PROGSTACK_MUL elif target.author.progressivestack or (target.author.admin_level and target.author.id not in {AEVANN_ID, CARP_ID}): mul = 2 - elif SITE == 'rdrama.net' and cls == Submission and target.author.id not in {8768,3402}: + elif SITE == 'rdrama.net' and cls == Submission and target.author.id != 8768: if (target.domain.endswith('.win') or 'forum' in target.domain or 'chan' in target.domain or (target.domain in BOOSTED_SITES and not target.url.startswith('/')) or target.sub in BOOSTED_HOLES): mul = 2 - elif not target.sub and target.body_html: + elif target.sub != 'mnn' and target.body_html: x = target.body_html.count('" target="_blank" rel="nofollow noopener">') x += target.body_html.count('