summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/perl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts/perl')
-rw-r--r--src/plugins/scripts/perl/weechat-perl.c4
1 files changed, 3 insertions, 1 deletions
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;
}