From 25131e3f36451e08f40ccd4c5598a197477b754d Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 11 Feb 2014 23:19:09 +0000 Subject: Added command to show libotr version --- src/otr3.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/otr3.c') 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) { -- cgit 1.4.1-2-gfad0