Changed it from GUID to socket.id

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-04 00:00:12 +02:00
parent 3f47e74379
commit aa5cb94b29

View File

@@ -127,8 +127,9 @@ io.on('connection', function(socket){
list = list.split(',');
coll = list[0].toLowerCase();
//guid = list[1];
socket.emit("guid", rndName(guid));
console.log(coll);
socket.emit("guid", socket.id);
//console.log(name + " joined list " + coll);
check_inlist(coll, guid, socket, name);