diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-09-02 19:22:56 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-09-02 19:22:56 +0200 |
commit | 9ccf62979fd487ace77c6caa430b41f74c97248c (patch) | |
tree | 8b24a51c26a468199de1d350de962f0422525f00 /src/plugins/script | |
parent | 579af1b265b504d07ccfec376858d12d6a233f86 (diff) | |
download | weechat-9ccf62979fd487ace77c6caa430b41f74c97248c.zip |
script: do not automatically download list of scripts on startup if the file is too old (closes #1548)
The repository file is downloaded anyway if too old on any /script action.
Diffstat (limited to 'src/plugins/script')
-rw-r--r-- | src/plugins/script/script.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/script/script.c b/src/plugins/script/script.c index ef0b96097..eab823421 100644 --- a/src/plugins/script/script.c +++ b/src/plugins/script/script.c @@ -362,12 +362,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) script_mouse_init (); if (script_repo_file_exists ()) - { - if (!script_repo_file_is_uptodate ()) - script_repo_file_update (0); - else - script_repo_file_read (0); - } + script_repo_file_read (0); if (script_buffer) script_buffer_refresh (1); |