mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Changed it from GUID to socket.id
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user