mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Not logging debug-messages for forcing chat-name
This commit is contained in:
@@ -143,10 +143,10 @@ function check_inlist(coll, guid, socket, offline, callback)
|
||||
db.collection("user_names").update({"guid": guid}, {$addToSet:{channels: coll}}, function(err, doc){});
|
||||
socket.broadcast.to(coll).emit('chat', {from: docs[0].name, icon: icon, msg: " joined"});
|
||||
} else if(docs.length == 0) {
|
||||
console.log("User doesn't have a name for some reason.");
|
||||
console.log("guid", guid);
|
||||
console.log("channel", coll);
|
||||
console.log("Trying to get a chat-name");
|
||||
//console.log("User doesn't have a name for some reason.");
|
||||
//console.log("guid", guid);
|
||||
//console.log("channel", coll);
|
||||
//console.log("Trying to get a chat-name");
|
||||
Chat.get_name(guid, {announce: false, socket: socket, channel: coll});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user