forked from rDrama/rDrama
boost all domains that have "forum" in them
parent
d90a0d1300
commit
601e95ae07
|
@ -173,7 +173,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
if target.author.progressivestack:
|
||||
mul = 2
|
||||
if cls == Submission:
|
||||
if (target.domain.endswith('.win')
|
||||
if (target.domain.endswith('.win') or 'forum' in domain
|
||||
or (target.domain in BOOSTED_SITES and not target.url.startswith('/'))
|
||||
or target.sub in BOOSTED_HOLES):
|
||||
mul = 2
|
||||
|
|
Loading…
Reference in New Issue