mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
script: fix state of script plugins when list of scripts has not been downloaded
The problem happened when doing "/script load script.py" if the scripts list has not been downloaded (with "/script update"): WeeChat displays that python plugin is not loaded (which is wrong).
This commit is contained in:
@@ -977,7 +977,8 @@ script_buffer_input_cb (void *data, struct t_gui_buffer *buffer,
|
||||
/* refresh buffer */
|
||||
if (strcmp (input_data, "$") == 0)
|
||||
{
|
||||
script_get_loaded_plugins_and_scripts ();
|
||||
script_get_loaded_plugins ();
|
||||
script_get_scripts ();
|
||||
script_repo_remove_all ();
|
||||
script_repo_file_read (1);
|
||||
script_buffer_refresh (1);
|
||||
|
||||
Reference in New Issue
Block a user