about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-05 23:51:49 +0100
committerJames Booth <boothj5@gmail.com>2016-05-05 23:51:49 +0100
commit3bb1f1241050d227932d5153abf49fdce9939efb (patch)
tree9c8f317581a7aac2d7ab914a454eaf80cd21d643 /src/otr
parentf6fa63b374cdc07084a472a2067546879809ec89 (diff)
downloadprofani-tty-3bb1f1241050d227932d5153abf49fdce9939efb.tar.gz
Add session.c
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index 7b7b8e8e..33899087 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -87,7 +87,7 @@ cb_policy(void *opdata, ConnContext *context)
 static int
 cb_is_logged_in(void *opdata, const char *accountname, const char *protocol, const char *recipient)
 {
-    jabber_conn_status_t conn_status = jabber_get_connection_status();
+    jabber_conn_status_t conn_status = connection_get_status();
     if (conn_status != JABBER_CONNECTED) {
         return PRESENCE_OFFLINE;
     }