1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 11:56:38 +02:00

fix a bug in plugin scripts : current_script was not set when exec a command

This commit is contained in:
Emmanuel Bouthenot
2005-11-16 21:13:56 +00:00
parent 2229d34110
commit ef0e468415
4 changed files with 6 additions and 0 deletions
@@ -70,6 +70,8 @@ weechat_python_exec (t_weechat_plugin *plugin,
}
ret = -1;
python_current_script = script;
rc = PyObject_CallFunction(evFunc, "ss", server == NULL ? "" : server, arguments == NULL ? "" : arguments);