diff --git a/server/server.js b/server/server.js index a82f0eaf..51ba21ff 100755 --- a/server/server.js +++ b/server/server.js @@ -205,8 +205,10 @@ io.on('connection', function(socket){ db.collection(coll).find({id:id}, function(err, docs){ if(docs.length == 0) { - var guids = [guid]; - var votes = 1 + //var guids = [guid]; + //var votes = 1; + var guids = []; + var votes = 0; db.collection(coll).find({now_playing:true}, function(err, docs){ if(docs.length == 0) np = true;