about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-05-30 21:11:55 +0100
committerJames Booth <boothj5@gmail.com>2013-05-30 21:11:55 +0100
commitdcd8dcda87a7e942612e986f7dd13f2cc230df23 (patch)
treec4a7ea24a609d3b022418844aa9bc82147c257ba /src/profanity.c
parent4d9148e73462bbbb8fe579d1cca48f6795c38286 (diff)
downloadprofani-tty-dcd8dcda87a7e942612e986f7dd13f2cc230df23.tar.gz
Fixed autoaway
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c1
1 files changed, 1 insertions, 0 deletions
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();
             }