about summary refs log tree commit diff stats
path: root/src/otr4.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-02-11 23:19:09 +0000
committerJames Booth <boothj5@gmail.com>2014-02-11 23:19:09 +0000
commit25131e3f36451e08f40ccd4c5598a197477b754d (patch)
treeb51ef09c84f10532567268f92d5a7c99a4158b93 /src/otr4.c
parent42630139c2db02f430ef06f172201e8bc898dad4 (diff)
downloadprofani-tty-25131e3f36451e08f40ccd4c5598a197477b754d.tar.gz
Added command to show libotr version
Diffstat (limited to 'src/otr4.c')
-rw-r--r--src/otr4.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/otr4.c b/src/otr4.c
index 84244dae..ddd4aeeb 100644
--- a/src/otr4.c
+++ b/src/otr4.c
@@ -129,6 +129,12 @@ cb_gone_secure(void *opdata, ConnContext *context)
     ui_gone_secure(context->username, otr_is_trusted(context->username));
 }
 
+char *
+otr_libotr_version(void)
+{
+    return OTRL_VERSION;
+}
+
 void
 otr_init(void)
 {