aboutsummaryrefslogtreecommitdiffstats
path: root/otr.c
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-05-26 15:07:34 +0200
committerMarius Halden <marius.h@lden.org>2016-05-26 15:07:34 +0200
commit3448d86a3f329ec4d625bd72e64a96061e71e675 (patch)
treeff41da0d1f55d449b24a91e4b7a91cab0cbcc84d /otr.c
parent8e4d9a1769a7d566278ed95d94a1cabd8fdc62e7 (diff)
parent59a7dc58dcf39b7eaed2015423f8a4fc2da3c7fd (diff)
Merge branch 'master' into patched-master
Diffstat (limited to 'otr.c')
-rw-r--r--otr.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/otr.c b/otr.c
index 4888691a..0328f478 100644
--- a/otr.c
+++ b/otr.c
@@ -267,6 +267,22 @@ void init_plugin(void)
register_irc_plugin(&otr_plugin);
}
+#ifndef OTR_BI
+struct plugin_info *init_plugin_info(void)
+{
+ static struct plugin_info info = {
+ BITLBEE_ABI_VERSION_CODE,
+ "otr",
+ BITLBEE_VERSION,
+ "Off-the-Record communication",
+ NULL,
+ NULL
+ };
+
+ return &info;
+}
+#endif
+
gboolean otr_irc_new(irc_t *irc)
{
set_t *s;