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/command/commands.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/command/commands.c') diff --git a/src/command/commands.c b/src/command/commands.c index 368a644b..d0dda7ec 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -2593,6 +2593,10 @@ cmd_otr(gchar **args, struct cmd_help_t help) // update the current window ui_switch_win(wins_get_current_num()); return result; + } else if (strcmp(args[0], "libver") == 0) { + char *version = otr_libotr_version(); + cons_show("Using libotr version %s", version); + return TRUE; } if (jabber_get_connection_status() != JABBER_CONNECTED) { -- cgit 1.4.1-2-gfad0