From 973ce49af1454d8ec9c9611cd9dc253139daf563 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 31 Aug 2023 16:50:39 +0300 Subject: [PATCH] minor vote change --- files/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index c19f2f1063..188721d8f3 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -77,7 +77,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): elif new != 0: imlazy = 3 - real = new == -1 or (not alt and v.has_real_votes) + real = new == -1 and not alt and v.has_real_votes vote = None if vote_cls == Vote: vote = Vote(user_id=v.id,