mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +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:
@@ -445,8 +445,6 @@ weechat_lua_load (const char *filename)
|
||||
}
|
||||
lua_current_script = lua_registered_script;
|
||||
|
||||
lua_current_script->interpreter = (lua_State *) lua_current_interpreter;
|
||||
|
||||
/*
|
||||
* set input/close callbacks for buffers created by this script
|
||||
* (to restore callbacks after upgrade)
|
||||
|
||||
Reference in New Issue
Block a user