1
0
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:
Sebastien Helleu
2014-01-25 13:04:25 +01:00
parent 97cede06b5
commit 86a99af606
14 changed files with 30 additions and 21 deletions
-2
View File
@@ -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)