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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user