Small fix.

This commit is contained in:
Manuel Baclet
2015-06-11 11:36:06 +02:00
parent 1a5b6d4485
commit 55274af45a

View File

@@ -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) {