diff options
Diffstat (limited to 'src/plugins/scripts')
-rw-r--r-- | src/plugins/scripts/lua/weechat-lua.c | 2 | ||||
-rw-r--r-- | src/plugins/scripts/perl/weechat-perl.c | 2 | ||||
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index 31425d12c..56a2a685b 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -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); diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index a3f8324be..869811368 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -1501,7 +1501,7 @@ weechat_perl_unload (t_weechat_plugin *plugin, t_plugin_script *script) #endif if (script->shutdown_func[0]) - weechat_perl_exec (plugin, script, script->shutdown_func, "", "", ""); + weechat_perl_exec (plugin, script, script->shutdown_func, NULL, NULL, NULL); #ifndef MULTIPLICITY if (script->interpreter) diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 8f024fde4..7f36aac27 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -1440,7 +1440,7 @@ weechat_python_unload (t_weechat_plugin *plugin, t_plugin_script *script) script->name); if (script->shutdown_func[0]) - weechat_python_exec (plugin, script, script->shutdown_func, "", "", ""); + weechat_python_exec (plugin, script, script->shutdown_func, NULL, NULL, NULL); PyThreadState_Swap (script->interpreter); Py_EndInterpreter (script->interpreter); |