mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 21:36:37 +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:
@@ -1147,6 +1147,8 @@ script_action_run ()
|
||||
if (!script_actions)
|
||||
return 0;
|
||||
|
||||
script_get_loaded_plugins ();
|
||||
|
||||
actions = weechat_string_split (script_actions, "\n", 0, 0, &num_actions);
|
||||
if (actions)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user