Skip to content

Commit bcfec6d

Browse files
committed
namespace: added connected hash
1 parent dbba592 commit bcfec6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/namespace.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ var emit = Emitter.prototype.emit;
4545
*/
4646

4747
function Namespace(server, name){
48-
this.server = server;
4948
this.name = name;
49+
this.server = server;
50+
this.adapter = new (server.adapter())(this);
5051
this.sockets = [];
52+
this.connected = {};
5153
this.fns = [];
5254
this.ids = 0;
5355
this.acks = {};
54-
this.flags = [];
55-
this.rooms = [];
5656
}
5757

5858
/**

0 commit comments

Comments
 (0)