Skip to content

Commit

Permalink
socket: rename rooms to joined
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Dec 24, 2012
1 parent dd0fd53 commit d65635d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,12 @@ var emit = Emitter.prototype.emit;

function Socket(nsp, client){
this.nsp = nsp;
this.server = nsp.server;
this.adapter = this.nsp.adapter;
this.id = client.id;
this.request = client.request;
this.client = client;
this.flags = [];
this.rooms = [];
this.joined = [];
this.acks = {};
this.connected = true;
this.disconnected = false;
Expand Down

0 comments on commit d65635d

Please sign in to comment.