forked from rDrama/rDrama
add progstack awawrd to WPD
parent
369562d6ac
commit
1496b12e8f
|
@ -537,7 +537,7 @@ AWARDS = {
|
||||||
"deflectable": True,
|
"deflectable": True,
|
||||||
"cosmetic": False,
|
"cosmetic": False,
|
||||||
"ghost": False,
|
"ghost": False,
|
||||||
"enabled": SITE_NAME == 'rDrama',
|
"enabled": True,
|
||||||
},
|
},
|
||||||
"pizzashill": {
|
"pizzashill": {
|
||||||
"kind": "pizzashill",
|
"kind": "pizzashill",
|
||||||
|
|
|
@ -167,10 +167,9 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
||||||
mul = 1
|
mul = 1
|
||||||
if target.is_approved == PROGSTACK_ID:
|
if target.is_approved == PROGSTACK_ID:
|
||||||
mul = PROGSTACK_MUL
|
mul = PROGSTACK_MUL
|
||||||
elif SITE_NAME == 'rDrama':
|
elif target.author.progressivestack or (target.author.admin_level and target.author.id not in {AEVANN_ID, CARP_ID}):
|
||||||
if target.author.progressivestack or (target.author.admin_level and target.author.id not in {AEVANN_ID, CARP_ID}):
|
|
||||||
mul = 2
|
mul = 2
|
||||||
if cls == Submission and target.author.id not in {8768,3402,5214,12719}:
|
elif SITE == 'rdrama.net' and cls == Submission and target.author.id not in {8768,3402,5214,12719}:
|
||||||
if (target.domain.endswith('.win') or 'forum' in target.domain
|
if (target.domain.endswith('.win') or 'forum' 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('/'))
|
||||||
or target.sub in BOOSTED_HOLES):
|
or target.sub in BOOSTED_HOLES):
|
||||||
|
|
Loading…
Reference in New Issue