From dcd8dcda87a7e942612e986f7dd13f2cc230df23 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 30 May 2013 21:11:55 +0100 Subject: Fixed autoaway --- src/profanity.c | 1 + 1 file changed, 1 insertion(+) 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(); } -- cgit 1.4.1-2-gfad0