about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-01-03 02:20:17 +0000
committerJames Booth <boothj5@gmail.com>2016-01-03 02:20:17 +0000
commit03f63a912ebec196987cbaadc040948e1ffb0a50 (patch)
tree0608d068d4a428c9dc1b5103e935218997015812 /src/command/commands.c
parenta713654f9317ebebf86bdf9c295fce0780bd2a4b (diff)
downloadprofani-tty-03f63a912ebec196987cbaadc040948e1ffb0a50.tar.gz
Close all windows on /disconnect
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 15b740e3..c58a1588 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -993,6 +993,7 @@ cmd_disconnect(ProfWin *window, const char *const command, gchar **args)
         chat_sessions_clear();
         tlscerts_clear_current();
         ui_disconnected();
+        ui_close_all_wins();
 #ifdef HAVE_LIBGPGME
         p_gpg_on_disconnect();
 #endif