summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-repo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/script/script-repo.c')
-rw-r--r--src/plugins/script/script-repo.c2
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 ();