mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Another list issue fix
This commit is contained in:
@@ -1011,7 +1011,7 @@ io.on('connection', function(socket){
|
|||||||
}
|
}
|
||||||
|
|
||||||
db.collection(coll).find({views: {$exists: true}}, function(err, docs) {
|
db.collection(coll).find({views: {$exists: true}}, function(err, docs) {
|
||||||
if(docs.length > 0 && (docs[0].userpass == undefined || docs[0].userpass == "" || (msg.hasOwnProperty('pass') && docs[0].userpass == decrypt_string(socketid, msg.pass)))) {
|
if(docs.length > 0 && (docs[0].userpass == undefined || docs[0].userpass == "" || (obj.hasOwnProperty('pass') && docs[0].userpass == decrypt_string(socketid, obj.pass)))) {
|
||||||
check_inlist(coll, guid, socket, name, offline);
|
check_inlist(coll, guid, socket, name, offline);
|
||||||
send_play(coll, socket);
|
send_play(coll, socket);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user