From abe07e7754844c1cfa38b23f935e21ca866f402d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 30 Nov 2022 13:35:57 +0200 Subject: [PATCH] this is retarded --- files/helpers/const.py | 9 +-------- files/routes/votes.py | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index e36ab1fc2..9f8330df6 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -469,7 +469,6 @@ MAX_VIDEO_SIZE_MB_PATRON = 64 MAX_IMAGE_CONVERSION_TIMEOUT = 15 # seconds ANTISPAM_BYPASS_IDS = set() -BOOSTED_USERS_EXCLUDED = set() PAGE_SIZE = 25 LEADERBOARD_LIMIT = PAGE_SIZE @@ -565,13 +564,7 @@ if SITE == 'rdrama.net': 2008, #TransGirlTradWife 29, #QuadNarca JOAN_ID, - } - - BOOSTED_USERS_EXCLUDED = { - 8768, - 3402, - 5214, - 12719 + 4389, #WorldAroundEwe } GIFT_NOTIF_ID = CARP_ID diff --git a/files/routes/votes.py b/files/routes/votes.py index 09c6cab1d..240ebdfae 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -152,7 +152,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): elif cls == Submission: if target.domain.endswith('.win') 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 and target.author.id not in BOOSTED_USERS_EXCLUDED: + elif not target.sub and target.body_html and target.author.id not in {8768,3402,5214,12719}: x = target.body_html.count('" target="_blank" rel="nofollow noopener">') x += target.body_html.count('