mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 11:56:38 +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:
@@ -143,6 +143,7 @@ weechat_python_api_register (PyObject *self, PyObject *args)
|
||||
"version %s (%s)"),
|
||||
PYTHON_PLUGIN_NAME, name, version, description);
|
||||
}
|
||||
python_current_script->interpreter = (PyThreadState *)python_current_interpreter;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user