mirror of
https://github.com/weechat/weechat.git
synced 2026-06-15 15:44:47 +02:00
script: fix removal of script in system directory while trying to install a script (closes #2019)
This commit is contained in:
@@ -1201,7 +1201,7 @@ weechat_python_command_cb (const void *pointer, void *data,
|
||||
{
|
||||
/* load python script */
|
||||
path_script = plugin_script_search_path (weechat_python_plugin,
|
||||
ptr_name);
|
||||
ptr_name, 1);
|
||||
weechat_python_load ((path_script) ? path_script : ptr_name,
|
||||
NULL);
|
||||
if (path_script)
|
||||
|
||||
Reference in New Issue
Block a user