From: Darren Date: Thu, 25 Aug 2011 19:41:05 +0000 (+0100) Subject: Fixed websocket undefined on app.websocketDisconnect() X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=277b3040268e414a1a49b8dc8b085b85f2cba479;p=KiwiIRC.git Fixed websocket undefined on app.websocketDisconnect() --- 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);