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