about summary refs log tree commit diff stats
path: root/src/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-09-11 22:55:59 +0100
committerJames Booth <boothj5@gmail.com>2012-09-11 22:55:59 +0100
commit3a8229bf6a3b4f50bcc0687d2f5bae49a7b524b8 (patch)
tree8774a18c2436ac6605a6a16f6bb8b42d6aba5ca8 /src/command.c
parent1d44a8a3453978bdc42473950a7ed0db6dd4c583 (diff)
downloadprofani-tty-3a8229bf6a3b4f50bcc0687d2f5bae49a7b524b8.tar.gz
Created shutdown init function to initiate and wait for shutdown
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 15424362..eae52ae9 100644
--- a/src/command.c
+++ b/src/command.c
@@ -495,8 +495,8 @@ static gboolean
 _cmd_quit(const char * const inp, struct cmd_help_t help)
 {
     log_info("Profanity is shutting down.");
-    jabber_disconnect();
-    return TRUE;
+    profanity_shutdown_init();
+    return FALSE;
 }
 
 static gboolean