about summary refs log tree commit diff stats
path: root/src/otr3.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/otr3.c
parent42630139c2db02f430ef06f172201e8bc898dad4 (diff)
downloadprofani-tty-25131e3f36451e08f40ccd4c5598a197477b754d.tar.gz
Added command to show libotr version
Diffstat (limited to 'src/otr3.c')
-rw-r--r--src/otr3.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/otr3.c b/src/otr3.c
index 8e603a00..6d5c9496 100644
--- a/src/otr3.c
+++ b/src/otr3.c
@@ -100,6 +100,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)
 {