From 17804ea08ba04002990791717c0e39dd01ca4ccc Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 25 Feb 2008 17:31:04 +0100 Subject: Fix bug with weechat_plugin_end() function, now returns "int" everywhere --- src/plugins/scripts/perl/weechat-perl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/scripts/perl') diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index 3f3fed365..f7324dedc 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -610,7 +610,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin) * weechat_plugin_end: end Perl plugin */ -void +int weechat_plugin_end (struct t_weechat_plugin *plugin) { /* make C compiler happy */ @@ -628,4 +628,6 @@ weechat_plugin_end (struct t_weechat_plugin *plugin) perl_main = NULL; } #endif + + return WEECHAT_RC_OK; } -- cgit v1.2.3