1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

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.
This commit is contained in:
Sébastien Helleu
2020-09-02 19:22:56 +02:00
parent 579af1b265
commit 9ccf62979f
2 changed files with 2 additions and 6 deletions
+1 -6
View File
@@ -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);