diff --git a/src/profanity.c b/src/profanity.c index ac58514e..edec2fb3 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -71,6 +71,7 @@ prof_run(const int disable_tls, char *log_level) size = 0; while(ch != '\n') { + conn_status = jabber_get_connection_status(); if (conn_status == JABBER_CONNECTED) { _handle_idle_time(); }