summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 7bacb73d5..93ec84a56 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -4534,10 +4534,10 @@ COMMAND_CALLBACK(plugin)
{
plugin_argv = string_split (argv_eol[2], " ", 0, 0,
&plugin_argc);
- plugin_auto_load (plugin_argc, plugin_argv, 1, 1, 1);
+ plugin_auto_load (NULL, 1, 1, 1, plugin_argc, plugin_argv);
}
else
- plugin_auto_load (0, NULL, 1, 1, 1);
+ plugin_auto_load (NULL, 1, 1, 1, 0, NULL);
return WEECHAT_RC_OK;
}
@@ -4571,7 +4571,7 @@ COMMAND_CALLBACK(plugin)
if (strcmp (argv[2], "*") == 0)
{
plugin_unload_all ();
- plugin_auto_load (plugin_argc, plugin_argv, 1, 1, 1);
+ plugin_auto_load (NULL, 1, 1, 1, plugin_argc, plugin_argv);
}
else
{
@@ -4586,7 +4586,7 @@ COMMAND_CALLBACK(plugin)
else
{
plugin_unload_all ();
- plugin_auto_load (0, NULL, 1, 1, 1);
+ plugin_auto_load (NULL, 1, 1, 1, 0, NULL);
}
return WEECHAT_RC_OK;
}