Skip to content

Commit d65635d

Browse files
committed
socket: rename rooms to joined
1 parent dd0fd53 commit d65635d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/socket.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ var emit = Emitter.prototype.emit;
5454

5555
function Socket(nsp, client){
5656
this.nsp = nsp;
57+
this.server = nsp.server;
58+
this.adapter = this.nsp.adapter;
5759
this.id = client.id;
5860
this.request = client.request;
5961
this.client = client;
60-
this.flags = [];
61-
this.rooms = [];
62+
this.joined = [];
6263
this.acks = {};
6364
this.connected = true;
6465
this.disconnected = false;

0 commit comments

Comments
 (0)