Created shutdown init function to initiate and wait for shutdown

This commit is contained in:
James Booth
2012-09-11 22:55:59 +01:00
parent 1d44a8a345
commit 3a8229bf6a
5 changed files with 73 additions and 38 deletions

View File

@@ -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