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/python/weechat-python.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/scripts/python/weechat-python.c') diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index b117cb9e2..216a0c087 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -649,7 +649,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin) * weechat_plugin_end: shutdown Python interface */ -void +int weechat_plugin_end (struct t_weechat_plugin *plugin) { /* make C compiler happy */ @@ -674,4 +674,6 @@ weechat_plugin_end (struct t_weechat_plugin *plugin) weechat_gettext ("%s%s: unable to free interpreter"), weechat_prefix ("error"), "python"); } + + return WEECHAT_RC_OK; } -- cgit v1.2.3