Skip to content

Commit

Permalink
Merge pull request #1 from kapouer/patch-1
Browse files Browse the repository at this point in the history
Add missing closing curly brace
  • Loading branch information
Manuel Baclet committed Jun 11, 2015
2 parents 8e5bae4 + 930741f commit 89bd581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -84,7 +84,7 @@ Adapter.prototype.delAll = function(id, fn){
for (var room in rooms) {
if (rooms.hasOwnProperty(room)) {
this.rooms[room].del(id);

}
if (this.rooms[room].length === 0) {
delete this.rooms[room];
}
Expand Down

0 comments on commit 89bd581

Please sign in to comment.