forked from MarseyWorld/MarseyWorld
add a comment in votes.py explaining my motivation
parent
e40c9014c2
commit
368b575716
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue