summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/lua/weechat-lua.c
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/lua/weechat-lua.c
parent87aa03b2cf7afbae783a7b286729cb832ee350e5 (diff)
downloadweechat-524fbba036f4cb494057a2b551fafa48f0c3111e.zip
fix bug in end function calls for plugins/scripts
Diffstat (limited to 'src/plugins/scripts/lua/weechat-lua.c')
-rw-r--r--src/plugins/scripts/lua/weechat-lua.c2
1 files changed, 1 insertions, 1 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);