Shutdown now correctly handles connection

This commit is contained in:
James Booth
2012-09-23 19:26:07 +01:00
parent d136298f96
commit 6d329343dc
9 changed files with 7 additions and 13 deletions

View File

@@ -494,8 +494,8 @@ _cmd_connect(const char * const inp, struct cmd_help_t help)
static gboolean
_cmd_quit(const char * const inp, struct cmd_help_t help)
{
log_info("Profanity is shutting down.");
profanity_shutdown_init();
log_info("Profanity is shutting down...");
exit(0);
return FALSE;
}