about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-09-11 23:23:13 +0100
committerJames Booth <boothj5@gmail.com>2014-09-11 23:23:13 +0100
commita133384ef7653d13ec092f4959726eb07f78e9f9 (patch)
tree4c389238bf225d84639c08afabafda0c990e0bb0 /src/command/commands.c
parent2fc9e3e1cfafcac2fffd26834d21ef1d4af558dd (diff)
downloadprofani-tty-a133384ef7653d13ec092f4959726eb07f78e9f9.tar.gz
Close config win
Diffstat (limited to 'src/command/commands.c')
-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();