master
Aevann1 2021-12-14 00:23:33 +02:00
parent 157f6b6253
commit 8900b50ff9
1 changed files with 0 additions and 1 deletions

View File

@ -93,7 +93,6 @@ def api_vote_post(post_id, new, v):
elif existing.vote_type != 0 and new == 0:
if post.created_utc > 1639302300: post.author.coins -= 2
else: post.author.coins -= 1
post.author.coins -= amount
post.author.truecoins -= 1
g.db.add(post.author)
g.db.delete(existing)