minor vote change

pull/198/head
Aevann 2023-08-31 16:50:39 +03:00
parent eafa31211f
commit 973ce49af1
1 changed files with 1 additions and 1 deletions

View File

@ -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,