summaryrefslogtreecommitdiff
path: root/src/plugins/script
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-09-02 19:22:56 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-09-02 19:22:56 +0200
commit9ccf62979fd487ace77c6caa430b41f74c97248c (patch)
tree8b24a51c26a468199de1d350de962f0422525f00 /src/plugins/script
parent579af1b265b504d07ccfec376858d12d6a233f86 (diff)
downloadweechat-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.c7
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);