exclude ('space', 'istory', 'dino') from hole nerf

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-11 11:40:31 +02:00
parent f07bb9e4c5
commit 37068acadf
1 changed files with 2 additions and 2 deletions

View File

@ -147,9 +147,9 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
elif cls == Submission:
if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES:
mul = 2
elif target.sub:
elif target.sub and target.sub not in ('space', 'istory', 'dino'):
mul = 0.7
elif len(target.body) > 2000:
elif not target.sub and len(target.body) > 2000:
mul = 1 + len(target.body)/5000
mul = min(mul, 2)