mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
fix bug in end function calls for plugins/scripts
This commit is contained in:
@@ -1706,7 +1706,7 @@ weechat_lua_unload (t_weechat_plugin *plugin, t_plugin_script *script)
|
||||
script->name);
|
||||
|
||||
if (script->shutdown_func[0])
|
||||
weechat_lua_exec (plugin, script, script->shutdown_func, "", "", "");
|
||||
weechat_lua_exec (plugin, script, script->shutdown_func, NULL, NULL, NULL);
|
||||
|
||||
lua_close (script->interpreter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user