diff --git a/files/routes/votes.py b/files/routes/votes.py index a595c261f..e26d7bb0b 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -138,7 +138,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): if SITE_NAME == 'rDrama': target.realupvotes = get_vote_count(0, True) # first arg is ignored here - elif target.hole in {'sandshit', 'slavshit'}: + elif cls == Post and target.hole in {'sandshit', 'slavshit'}: target.realupvotes = target.upvotes + target.downvotes else: target.realupvotes = target.upvotes - target.downvotes