From 5ee60b0b359ab0b5b47199ff32a5183dee92baa6 Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Wed, 6 Jul 2011 18:34:39 +0100 Subject: [PATCH] Fixed a Socket.IO API Problem --- node/PadMessageHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/PadMessageHandler.js b/node/PadMessageHandler.js index c6bf8b71c..d9c87fce8 100644 --- a/node/PadMessageHandler.js +++ b/node/PadMessageHandler.js @@ -242,7 +242,7 @@ function handleUserInfoUpdate(client, message) { if(pad2sessions[padId][i] != client.id) { - socketio.clients[pad2sessions[padId][i]].json.send(message); + socketio.sockets.sockets[pad2sessions[padId][i]].json.send(message); } } }