fix downvote

This commit is contained in:
_Bastler 2021-10-05 08:47:21 +02:00
parent 5c14fbff6b
commit e9e9a22719
1 changed files with 2 additions and 2 deletions

View File

@ -160,8 +160,8 @@ public class EntryManager {
entry.getMetadata().put("vote", true);
}
if (!ignore.contains("unvote") && karma >= UNVOTE_THRESH) {
entry.getMetadata().put("unvote", true);
if (!ignore.contains("downvote") && karma >= UNVOTE_THRESH) {
entry.getMetadata().put("downvote", true);
}
}
}