From 0e315a81ad2177b6d212697fe5be2367219d825c Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 30 Oct 2010 10:38:19 +0200 Subject: Fix crash when unloading lua script --- src/plugins/scripts/lua/weechat-lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index f22fa9389..8bec35aff 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -393,7 +393,7 @@ weechat_lua_unload (struct t_plugin_script *script) script_remove (weechat_lua_plugin, &lua_scripts, &last_lua_script, script); - lua_close (script->interpreter); + lua_close (interpreter); } /* -- cgit v1.2.3