Skip to content

Commit

Permalink
Small fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Baclet committed Jun 11, 2015
1 parent 1a5b6d4 commit 55274af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -82,7 +82,7 @@ Adapter.prototype.delAll = function(id, fn){
var rooms = this.sids[id];
if (rooms) {
for (var room in rooms) {
if (rooms.hasOwnProperty(room)) {
if (this.rooms.hasOwnProperty(room)) {
this.rooms[room].del(id);
}
if (this.rooms[room].length === 0) {
Expand Down

0 comments on commit 55274af

Please sign in to comment.