From 347f2ab1e11fa3290e2fc7caa70c684c7802e23e Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Wed, 8 Jul 2020 22:46:32 -0400 Subject: [PATCH] Remove extra power downvote --- src/routes/voteOnSponsorTime.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/routes/voteOnSponsorTime.js b/src/routes/voteOnSponsorTime.js index eaf8b12..af8331e 100644 --- a/src/routes/voteOnSponsorTime.js +++ b/src/routes/voteOnSponsorTime.js @@ -166,10 +166,6 @@ module.exports = async function voteOnSponsorTime(req, res) { //this user is a vip and a downvote incrementAmount = - (row.votes + 2 - oldIncrementAmount); type = incrementAmount; - } else if (row !== undefined && (row.votes > 8 || row.views > 15) && incrementAmount < 0) { - //increase the power of this downvote - incrementAmount = -Math.abs(Math.min(10, row.votes + 2 - oldIncrementAmount)); - type = incrementAmount; } } else if (voteTypeEnum == voteTypes.incorrect) { if (isVIP) {