forked from rDrama/rDrama
increase /h/highrollerclub's boost from 1.25 to 2
parent
f41de4009d
commit
1962fe4d2d
|
@ -264,7 +264,6 @@ if SITE_NAME == 'rDrama':
|
||||||
'museumofrdrama',
|
'museumofrdrama',
|
||||||
'space',
|
'space',
|
||||||
'femaledatingstrategy',
|
'femaledatingstrategy',
|
||||||
'highrollerclub',
|
|
||||||
'meta',
|
'meta',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
||||||
or 'forum' in target.domain or 'chan' in target.domain or 'lemmy' in target.domain
|
or 'forum' in target.domain or 'chan' in target.domain or 'lemmy' in target.domain
|
||||||
or (target.domain in BOOSTED_SITES and not target.url.startswith('/'))):
|
or (target.domain in BOOSTED_SITES and not target.url.startswith('/'))):
|
||||||
mul = 2
|
mul = 2
|
||||||
elif target.sub in STEALTH_HOLES or target.sub == 'countryclub':
|
elif target.sub in STEALTH_HOLES or target.sub in {'countryclub', 'highrollerclub'}:
|
||||||
mul = 2
|
mul = 2
|
||||||
elif 6 <= datetime.fromtimestamp(target.created_utc).hour <= 10:
|
elif 6 <= datetime.fromtimestamp(target.created_utc).hour <= 10:
|
||||||
mul = 2
|
mul = 2
|
||||||
|
|
Loading…
Reference in New Issue