forked from MarseyWorld/MarseyWorld
stop boosting snappy
parent
33c043b42f
commit
ae29872388
|
@ -175,7 +175,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
elif target.hole in BOOSTED_HOLES:
|
||||
mul = 1.25
|
||||
|
||||
if target.body_html and target.author.id != 8768:
|
||||
if target.body_html and target.author.id != SNAPPY_ID:
|
||||
x = target.body_html.count('" target="_blank" rel="nofollow noopener">')
|
||||
x += target.body_html.count('" rel="nofollow noopener" target="_blank">')
|
||||
target.realupvotes += min(x*2, 20)
|
||||
|
|
Loading…
Reference in New Issue