Skip to content

Commit

Permalink
fix(session): correct usages of an emit queue.
Browse files Browse the repository at this point in the history
In fact, it's just a typo.
  • Loading branch information
Kesarr authored and NicolasRitouet committed Nov 17, 2014
1 parent f17d296 commit 53b226a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ function Session(data, store, sockets, rawSockets) {
if(s) {
s.emit.apply(s, arguments);
} else {
// otherwise add to bind queue
var queue = this._emitQueue = this._bindQueue || [];
// otherwise add to emit queue
var queue = this._emitQueue = this._emitQueue || [];
queue.push(arguments);
}
}
Expand Down Expand Up @@ -252,4 +252,4 @@ Session.prototype.remove = function(fn) {
this.store.remove({id: this.data.id}, fn);

return this;
};
};

0 comments on commit 53b226a

Please sign in to comment.