summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/lua
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-10-30 10:38:19 +0200
committerSebastien Helleu <flashcode@flashtux.org>2010-10-30 10:38:19 +0200
commit0e315a81ad2177b6d212697fe5be2367219d825c (patch)
treefe8baff97921e44eac4e832871a6dda9c3f1baf8 /src/plugins/scripts/lua
parentb4f63e70af3a56949b151bdbcefcce20070d553d (diff)
downloadweechat-0e315a81ad2177b6d212697fe5be2367219d825c.zip
Fix crash when unloading lua script
Diffstat (limited to 'src/plugins/scripts/lua')
-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 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);
}
/*