mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345)
This commit is contained in:
@@ -156,6 +156,7 @@ weechat_lua_api_register (lua_State *L)
|
||||
"version %s (%s)"),
|
||||
LUA_PLUGIN_NAME, name, version, description);
|
||||
}
|
||||
lua_current_script->interpreter = (lua_State *) lua_current_interpreter;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user