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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user