Started work on closing stream on quit

For standards compliance
This commit is contained in:
James Booth
2012-09-11 01:30:48 +01:00
parent 07178bf3b2
commit 1d44a8a345
3 changed files with 25 additions and 11 deletions

View File

@@ -494,7 +494,9 @@ _cmd_connect(const char * const inp, struct cmd_help_t help)
static gboolean
_cmd_quit(const char * const inp, struct cmd_help_t help)
{
return FALSE;
log_info("Profanity is shutting down.");
jabber_disconnect();
return TRUE;
}
static gboolean