mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Merge branch 'dev' of github.com:nixolas1/Zoff into dev
This commit is contained in:
@@ -205,10 +205,10 @@ io.on('connection', function(socket){
|
|||||||
db.collection(coll).find({id:id}, function(err, docs){
|
db.collection(coll).find({id:id}, function(err, docs){
|
||||||
if(docs.length == 0)
|
if(docs.length == 0)
|
||||||
{
|
{
|
||||||
//var guids = [guid];
|
var guids = [guid];
|
||||||
//var votes = 1;
|
var votes = 1;
|
||||||
var guids = [];
|
//var guids = [];
|
||||||
var votes = 0;
|
//var votes = 0;
|
||||||
db.collection(coll).find({now_playing:true}, function(err, docs){
|
db.collection(coll).find({now_playing:true}, function(err, docs){
|
||||||
if(docs.length == 0)
|
if(docs.length == 0)
|
||||||
np = true;
|
np = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user