diff --git a/files/routes/votes.py b/files/routes/votes.py index bf622d03a..3e1b13a9b 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -152,7 +152,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): elif len(target.body) > 2000: mul = 1 + len(target.body)/5000 - mul = max(mul, 2) + mul = min(mul, 2) target.realupvotes *= mul g.db.add(target)