From 6b7f71df0f0e7fdb6eab4e4fe7fc8bdea4822bbd Mon Sep 17 00:00:00 2001 From: Slayer95 Date: Thu, 19 Jun 2014 15:48:51 -0500 Subject: [PATCH] Make sure that alts leave when a user is banned from a room --- commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands.js b/commands.js index 300e555b84..81759d09fe 100644 --- a/commands.js +++ b/commands.js @@ -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));