From ae2987238888fadf0191cd275f68d668d64fc06e Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 28 Feb 2024 19:19:35 +0200 Subject: [PATCH] stop boosting snappy --- files/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index 9a7a2716fb..df11a022d6 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -175,7 +175,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): elif target.hole in BOOSTED_HOLES: mul = 1.25 - if target.body_html and target.author.id != 8768: + if target.body_html and target.author.id != SNAPPY_ID: x = target.body_html.count('" target="_blank" rel="nofollow noopener">') x += target.body_html.count('" rel="nofollow noopener" target="_blank">') target.realupvotes += min(x*2, 20)