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

@@ -389,8 +389,6 @@ _jabber_conn_handler(xmpp_conn_t * const conn,
jabber_conn.conn_status = JABBER_DISCONNECTED;
jabber_conn.presence = PRESENCE_OFFLINE;
profanity_shutdown();
// lost connection for unkown reason
} else if (jabber_conn.conn_status == JABBER_CONNECTED) {