diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-10-15 20:38:43 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-10-15 20:38:43 +0200 |
commit | 939b16230ce7dfe46eaa2d12d810e1c69bea4e1a (patch) | |
tree | 5d45262ecc6101ac3329cc691f04631970834991 /src/plugins/script/script-repo.c | |
parent | c3707bb6e1ba033a3131224bd6e43437e2c46c89 (diff) | |
download | weechat-939b16230ce7dfe46eaa2d12d810e1c69bea4e1a.zip |
script: allow command /script list when option script.scripts.download_enabled is set to off (closes #1574)
Diffstat (limited to 'src/plugins/script/script-repo.c')
-rw-r--r-- | src/plugins/script/script-repo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/script/script-repo.c b/src/plugins/script/script-repo.c index a218bc9d9..692cff27b 100644 --- a/src/plugins/script/script-repo.c +++ b/src/plugins/script/script-repo.c @@ -1502,7 +1502,7 @@ script_repo_file_update (int quiet) char *filename, *url; struct t_hashtable *options; - if (!script_download_enabled ()) + if (!script_download_enabled (1)) return 0; script_repo_remove_all (); |