From 277b3040268e414a1a49b8dc8b085b85f2cba479 Mon Sep 17 00:00:00 2001 From: Darren Date: Thu, 25 Aug 2011 20:41:05 +0100 Subject: [PATCH] Fixed websocket undefined on app.websocketDisconnect() --- node/kiwi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/kiwi.js b/node/kiwi.js index 99091d1..032b560 100644 --- a/node/kiwi.js +++ b/node/kiwi.js @@ -144,7 +144,7 @@ this.websocketConnection = function (websocket) { return app.websocketConnection(websocket); } this.websocketDisconnect = function () { - return app.websocketDisconnect(); + return app.websocketDisconnect(this); } this.websocketMessage = function (msg, callback) { return app.websocketMessage(this, msg, callback); -- 2.25.1