1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00

script: allow command /script list when option script.scripts.download_enabled is set to off (closes #1574)

This commit is contained in:
Sébastien Helleu
2020-10-15 20:38:43 +02:00
parent c3707bb6e1
commit 939b16230c
6 changed files with 52 additions and 27 deletions
+1 -1
View File
@@ -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 ();