mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
merged?
This commit is contained in:
@@ -637,8 +637,6 @@ function sort_list(coll, socket, send, list_send)
|
||||
function send_play(coll, socket)
|
||||
{
|
||||
db.collection(coll).find({now_playing:true}, function(err, np){
|
||||
if(np.length != 0)
|
||||
{
|
||||
db.collection(coll).find({views:{$exists:true}}, function(err, conf){
|
||||
if(conf.length != 0)
|
||||
{
|
||||
@@ -649,7 +647,6 @@ function send_play(coll, socket)
|
||||
socket.emit(coll+",np", toSend);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user