Skip to content

Commit 50a8d2d

Browse files
committed
Revert.
1 parent 19a0fb6 commit 50a8d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/namespace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ SocketNamespace.prototype.handlePacket = function (sessid, packet) {
213213
switch (packet.type) {
214214
case 'connect':
215215
this.store.join(sessid, this.name, function () {
216-
self.emit('connection', socket);
216+
self.emit('connection', self.sockets[sessid]);
217217
});
218218
break;
219219

0 commit comments

Comments
 (0)