@ -455,7 +455,7 @@ var server = net.createServer(function(socket)
connections.push(sock);
// Set on disconnect
sock.sock.on("disconnect", function()
sock.sock.on('close', function()
{
// Delete the connection id
delete connections[sock.connection_id];