diff --git a/node/PadMessageHandler.js b/node/PadMessageHandler.js index b9467e397..c6bf8b71c 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"}); } } }