From 8900b50ff9cb0996518021d4df68bc7565298f80 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 14 Dec 2021 00:23:33 +0200 Subject: [PATCH] fdsfsd --- files/routes/votes.py | 1 - 1 file changed, 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index 2990b8718d..fdf3e83cae 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -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)