summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/python
diff options
context:
space:
mode:
authorEmmanuel Bouthenot <kolter@openics.org>2006-05-17 09:59:19 +0000
committerEmmanuel Bouthenot <kolter@openics.org>2006-05-17 09:59:19 +0000
commit524fbba036f4cb494057a2b551fafa48f0c3111e (patch)
treeeae247b5b2f32a6996d44c8f4b6619f68eef00f2 /src/plugins/scripts/python
parent87aa03b2cf7afbae783a7b286729cb832ee350e5 (diff)
downloadweechat-524fbba036f4cb494057a2b551fafa48f0c3111e.zip
fix bug in end function calls for plugins/scripts
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);