Rename ranking constant by Capy request.

pull/2/head
Snakes 2022-11-20 06:31:16 -05:00
parent db329f487f
commit 23ff5450d6
Signed by: Snakes
GPG Key ID: E745A82778055C7E
2 changed files with 3 additions and 3 deletions

View File

@ -1665,16 +1665,16 @@ if SITE_NAME == 'rDrama':
'anime',
'gaybros',
'againsthateholes',
'schizocel',
'masterbaiters',
'changelog',
}
BOOSTED_HOLES_UNNERFED = {
UNNERFED_HOLES = {
'space',
'istory',
'dino',
'slackernews',
'schizocel',
}
BOOSTED_USERS = {

View File

@ -150,7 +150,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
elif cls == Submission and target.author.id not in BOOSTED_USERS_EXCLUDED:
if target.domain.endswith('.win') or target.domain in BOOSTED_SITES or target.sub in BOOSTED_HOLES:
mul = 2
elif target.sub and target.sub not in BOOSTED_HOLES_UNNERFED:
elif target.sub and target.sub not in UNNERFED_HOLES:
mul = 0.7
elif not target.sub and target.body_html:
x = target.body_html.count('" target="_blank" rel="nofollow noopener">')