Added missing packet parameter.

This commit is contained in:
Guillermo Rauch
2011-06-06 12:25:10 -03:00
parent c9e674ab51
commit c5ccaa9adc

View File

@@ -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 = {};