diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-22 22:51:44 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-09-22 22:51:44 +0200 |
commit | d6e4e87faf90eacf9be316b024cc1dce0fd683ee (patch) | |
tree | a872666260be430bfc7eb2d7ea6e66e76e7744c0 /src/plugins/ruby/weechat-ruby.c | |
parent | 12106ae7ba0c149e2c3a2fe7fa65d48acc851249 (diff) | |
download | weechat-d6e4e87faf90eacf9be316b024cc1dce0fd683ee.zip |
script: fix removal of script in system directory while trying to install a script (closes #2019)
Diffstat (limited to 'src/plugins/ruby/weechat-ruby.c')
-rw-r--r-- | src/plugins/ruby/weechat-ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ruby/weechat-ruby.c b/src/plugins/ruby/weechat-ruby.c index fa940ea92..391d0d236 100644 --- a/src/plugins/ruby/weechat-ruby.c +++ b/src/plugins/ruby/weechat-ruby.c @@ -1003,7 +1003,7 @@ weechat_ruby_command_cb (const void *pointer, void *data, { /* load ruby script */ path_script = plugin_script_search_path (weechat_ruby_plugin, - ptr_name); + ptr_name, 1); weechat_ruby_load ((path_script) ? path_script : ptr_name, NULL); if (path_script) |