add a comment in votes.py explaining my motivation

master
Aevann1 2022-11-09 22:56:27 +02:00
parent e40c9014c2
commit 368b575716
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
if target.author.progressivestack:
mul = 2
elif cls == Submission:
if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES or target.author.id in BOOSTED_USERS:
if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES or target.author.id in BOOSTED_USERS: #Anti-chud measure
mul = 2
elif target.sub:
mul = 0.7