mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying out incapsulation
This commit is contained in:
@@ -153,8 +153,7 @@ io.on('connection', function(socket){
|
||||
if(list !== undefined && list !== null && list != "")
|
||||
{
|
||||
in_list = true;
|
||||
list = list.split(',');
|
||||
coll = list[0].toLowerCase();
|
||||
coll = list.toLowerCase();
|
||||
socket.join(coll);
|
||||
socket.join(short_id);
|
||||
socket.emit("id", short_id);
|
||||
|
||||
Reference in New Issue
Block a user