mirror of
https://github.com/weechat/weechat.git
synced 2026-06-23 03:16:37 +02:00
Fix bug with weechat_plugin_end() function, now returns "int" everywhere
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user