mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Removed some logging, and fixed new chan bg
This commit is contained in:
		@@ -87,7 +87,7 @@ io.on('connection', function(socket){
 | 
			
		||||
    	}else
 | 
			
		||||
    	{
 | 
			
		||||
    		db.createCollection(coll, function(err, docs){
 | 
			
		||||
  				db.collection(coll).insert({"addsongs":false, "adminpass":"", "allvideos":true, "frontpage":true, "longsongs":true, "removeplay": false, "shuffle": false, "skip": true, "skips": [], "startTime":get_time(), "views": [], "vote": false}, function(err, docs)
 | 
			
		||||
  				db.collection(coll).insert({"addsongs":"false", "adminpass":"", "allvideos":"true", "frontpage":"true", "longsongs":"true", "removeplay": "false", "shuffle": "false", "skip": "true", "skips": [], "startTime":get_time(), "views": [], "vote": "false"}, function(err, docs)
 | 
			
		||||
  				{
 | 
			
		||||
            db.collection(coll).find().sort({votes:-1}, function(err, docs) {
 | 
			
		||||
    		    	socket.emit(coll, docs);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user