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