From c6599062b80f526a316dbee6dc0c1b4b449e29e2 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 27 Jun 2012 00:07:55 +0000 Subject: [PATCH] Fix bug in last commit. --- exec/load/consensus_vote.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/exec/load/consensus_vote.js b/exec/load/consensus_vote.js index 41c225efa6..4bc02dbb9c 100644 --- a/exec/load/consensus_vote.js +++ b/exec/load/consensus_vote.js @@ -78,9 +78,8 @@ function ConcensusObject(host, port, scope) for(i in this.answers) { for(j in this.answers[i].votes) { - if(this.answers[i].votes[k]==user.alias) - return true; - } + if(this.answers[i].votes[k]==user.alias) + return true; } } return false; -- GitLab