forked from rDrama/rDrama
add 4 more boosted holes
parent
c2ae13363b
commit
7fc3488854
|
@ -139,7 +139,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
target.downvotes = get_vote_count(-1, False)
|
||||
target.realupvotes = get_vote_count(0, True) # first arg is ignored here
|
||||
|
||||
if target.author.progressivestack or (cls == Submission and (target.sub in ('space', 'istory', 'dinos', 'furry', 'anime') or target.domain.endswith('.win') or target.domain in BOOSTED_SITES)):
|
||||
if target.author.progressivestack or (cls == Submission and (target.sub in ('space', 'istory', 'dinos', 'furry', 'anime', 'slackernews', 'gaybros', 'againsthateholes', 'femboy') or target.domain.endswith('.win') or target.domain in BOOSTED_SITES)):
|
||||
target.realupvotes *= 2
|
||||
g.db.add(target)
|
||||
return "", 204
|
||||
|
|
Loading…
Reference in New Issue