forked from rDrama/rDrama
extend BOOSTED_USERS to comments
parent
c066227d2b
commit
876f1d48f1
|
@ -142,10 +142,10 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
target.realupvotes = get_vote_count(0, True) # first arg is ignored here
|
||||
|
||||
mul = 1
|
||||
if target.author.progressivestack:
|
||||
if target.author.progressivestack or target.author.id in BOOSTED_USERS:
|
||||
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: #Anti-chud measure
|
||||
if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES:
|
||||
mul = 2
|
||||
elif target.sub:
|
||||
mul = 0.7
|
||||
|
|
Loading…
Reference in New Issue