1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06: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:
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 -1
View File
@@ -35,6 +35,7 @@ extern struct t_hashtable *script_loaded;
extern int script_language_search (const char *language);
extern int script_language_search_by_extension (const char *extension);
extern char *script_build_download_url (const char *url);
extern void script_get_loaded_plugins_and_scripts ();
extern void script_get_loaded_plugins ();
extern void script_get_scripts ();
#endif /* WEECHAT_SCRIPT_H */