From c5ccaa9adc68d54e918e160c216ffe28da93d305 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Mon, 6 Jun 2011 12:25:10 -0300 Subject: [PATCH] Added missing packet parameter. --- lib/namespace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/namespace.js b/lib/namespace.js index bcd58a4d..68ae2b77 100644 --- a/lib/namespace.js +++ b/lib/namespace.js @@ -48,7 +48,7 @@ * @api private */ - SocketNamespace.prototype.packet = function () { + SocketNamespace.prototype.packet = function (packet) { packet.endpoint = this.name; this.socket.send(io.parser.encodePacket(packet)); this.flags = {};