1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

script: display error when installing/removing/loading script if plugin for language is not loaded

This commit is contained in:
Sebastien Helleu
2012-09-04 12:57:26 +02:00
parent 3849cb49bc
commit 7756be5fea
23 changed files with 577 additions and 268 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ script_info_get_infolist_cb (void *data, const char *infolist_name,
void *pointer, const char *arguments)
{
struct t_infolist *ptr_infolist;
struct t_repo_script *ptr_script;
struct t_script_repo *ptr_script;
/* make C compiler happy */
(void) data;
@@ -68,7 +68,7 @@ script_info_get_infolist_cb (void *data, const char *infolist_name,
else
{
/* build list with all scripts matching arguments */
for (ptr_script = repo_scripts; ptr_script;
for (ptr_script = scripts_repo; ptr_script;
ptr_script = ptr_script->next_script)
{
if (!arguments || !arguments[0]