Skip to content
Snippets Groups Projects
Commit ea74076e authored by deuce's avatar deuce
Browse files

We match alias, not number.

parent f74d685c
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ function ConcensusObject(host, port, scope)
matched=0;
for(j in all[i].answers) {
for(k in all[i].answers[j].votes) {
if(all[i].answers[j].votes[k]==user.number)
if(all[i].answers[j].votes[k]==user.alias)
matched++;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment