forked from MarseyWorld/MarseyWorld
im genuinely retarded (fix algo issue)
parent
738101266b
commit
bb3bdfdab6
|
@ -78,7 +78,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
|
|||
elif new != 0:
|
||||
imlazy = 3
|
||||
|
||||
real = new == -1 and not alt and v.has_real_votes
|
||||
real = not alt and (new == -1 or v.has_real_votes)
|
||||
vote = None
|
||||
if vote_cls == Vote:
|
||||
vote = Vote(user_id=v.id,
|
||||
|
|
Loading…
Reference in New Issue