From d60efe03daf2f79a14e09ae915d3e476afda63b8 Mon Sep 17 00:00:00 2001 From: dequis Date: Thu, 2 Jun 2016 21:17:52 -0300 Subject: Added support for the new bitlbee plugin information See bitlbee/bitlbee@d28fe1c. --- facebook/facebook.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'facebook') diff --git a/facebook/facebook.c b/facebook/facebook.c index da06d89..cf3e8c1 100644 --- a/facebook/facebook.c +++ b/facebook/facebook.c @@ -1151,3 +1151,24 @@ init_plugin(void) root_command_add("fbcreate", 0, fb_cmd_fbcreate, 0); root_command_add("fbjoin", 0, fb_cmd_fbjoin, 0); } + + +#ifdef BITLBEE_ABI_VERSION_CODE +G_MODULE_EXPORT struct plugin_info * +init_plugin_info(void); + +G_MODULE_EXPORT struct plugin_info * +init_plugin_info(void) +{ + static struct plugin_info info = { + BITLBEE_ABI_VERSION_CODE, + "facebook", + PACKAGE_VERSION, + "Facebook protocol plugin", + "dequis (maintainer), James Geboski (original author)", + PACKAGE_URL + }; + + return &info; +} +#endif /* BITLBEE_ABI_VERSION_CODE */ -- cgit v1.2.3