mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Added missing packet parameter.
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user