1
0
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:
Sébastien Helleu
2015-03-18 07:25:26 +01:00
parent 11debc7cae
commit 6c4b574945
6 changed files with 29 additions and 11 deletions
+2
View File
@@ -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)
{