about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/command/commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index f74731a6..92772044 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1893,6 +1893,8 @@ cmd_room(gchar **args, struct cmd_help_t help)
             iq_room_config_cancel(room);
         }
 
+        wins_close_current();
+
         current = wins_get_by_recipient(room);
         if (current == NULL) {
             current = wins_get_console();