diff options
author | dequis <dx@dxzone.com.ar> | 2016-06-02 21:17:52 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-06-02 21:17:52 -0300 |
commit | d60efe03daf2f79a14e09ae915d3e476afda63b8 (patch) | |
tree | 344bc6721b4b4bdb0d534675da69f7935de10da9 | |
parent | e094e5ac91f61d526cc12c0fc01709968c7a5d20 (diff) | |
download | bitlbee-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.
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | facebook/facebook.c | 21 |
2 files changed, 23 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3395d3c..031ec7e 100644 --- a/configure.ac +++ b/configure.ac @@ -16,9 +16,9 @@ AC_INIT( [bitlbee-facebook], [1.0.0], - [https://github.com/jgeboski/bitlbee-facebook/issues], + [https://github.com/bitlbee/bitlbee-facebook/issues], [bitlbee-facebook], - [https://github.com/jgeboski/bitlbee-facebook], + [https://github.com/bitlbee/bitlbee-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 <dx@dxzone.com.ar> (maintainer), James Geboski <jgeboski@gmail.com> (original author)", + PACKAGE_URL + }; + + return &info; +} +#endif /* BITLBEE_ABI_VERSION_CODE */ |