summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node/PadMessageHandler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/PadMessageHandler.js b/node/PadMessageHandler.js
index b9467e39..c6bf8b71 100644
--- a/node/PadMessageHandler.js
+++ b/node/PadMessageHandler.js
@@ -570,7 +570,7 @@ function handleClientReady(client, message)
{
if(sessioninfos[pad2sessions[message.padId][i]].author == author)
{
- socketio.clients[pad2sessions[message.padId][i]].json.send({disconnect:"doublelogin"});
+ socketio.sockets.sockets[pad2sessions[message.padId][i]].json.send({disconnect:"doublelogin"});
}
}
}