Make sure that alts leave when a user is banned from a room

This commit is contained in:
Slayer95 2014-06-19 15:48:51 -05:00
parent bf001656ce
commit 6b7f71df0f

View File

@ -407,6 +407,7 @@ var commands = exports.commands = {
var altId = toId(alts[i]);
this.add('|unlink|' + altId);
room.bannedUsers[altId] = true;
Users.getExact(altId).leaveRoom(room.id);
}
}
this.add('|unlink|' + this.getLastIdOf(targetUser));