aboutsummaryrefslogtreecommitdiffstats
path: root/facebook
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-06-02 21:17:52 -0300
committerdequis <dx@dxzone.com.ar>2016-06-02 21:17:52 -0300
commitd60efe03daf2f79a14e09ae915d3e476afda63b8 (patch)
tree344bc6721b4b4bdb0d534675da69f7935de10da9 /facebook
parente094e5ac91f61d526cc12c0fc01709968c7a5d20 (diff)
downloadbitlbee-facebook-d60efe03daf2f79a14e09ae915d3e476afda63b8.tar.gz
bitlbee-facebook-d60efe03daf2f79a14e09ae915d3e476afda63b8.tar.bz2
bitlbee-facebook-d60efe03daf2f79a14e09ae915d3e476afda63b8.tar.xz
Added support for the new bitlbee plugin information
See bitlbee/bitlbee@d28fe1c.
Diffstat (limited to 'facebook')
-rw-r--r--facebook/facebook.c21
1 files changed, 21 insertions, 0 deletions
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 <dx@dxzone.com.ar> (maintainer), James Geboski <jgeboski@gmail.com> (original author)",
+ PACKAGE_URL
+ };
+
+ return &info;
+}
+#endif /* BITLBEE_ABI_VERSION_CODE */