mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to not use greater than
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
var frontpage_lists = function(msg, socket) {
|
||||
function frontpage_lists(msg, socket) {
|
||||
if(!msg.hasOwnProperty('version') || msg.version != VERSION || msg.version == undefined) {
|
||||
socket.emit("update_required");
|
||||
}
|
||||
|
||||
console.log("gotten second ", Functions.get_time());
|
||||
db.collection("frontpage_lists").find({frontpage:true, count: {$ne: 0}}, function(err, docs){
|
||||
db.collection("frontpage_lists").find({frontpage:true}, function(err, docs){
|
||||
console.log("gotten third ", Functions.get_time());
|
||||
db.collection("connected_users").find({"_id": "total_users"}, function(err, tot){
|
||||
console.log("sending frontpage ", Functions.get_time());
|
||||
|
||||
Reference in New Issue
Block a user