summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 037bb4f1a..1299e77c9 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -697,6 +697,7 @@ plugin_auto_load ()
util_exec_on_files ((plugin_path2) ?
plugin_path2 : ((plugin_path) ?
plugin_path : CONFIG_STRING(config_plugin_path)),
+ 0,
NULL,
&plugin_auto_load_file);
if (plugin_path)
@@ -711,7 +712,7 @@ plugin_auto_load ()
{
snprintf (dir_name, strlen (WEECHAT_LIBDIR) + 16,
"%s/plugins", WEECHAT_LIBDIR);
- util_exec_on_files (dir_name, NULL, &plugin_auto_load_file);
+ util_exec_on_files (dir_name, 0, NULL, &plugin_auto_load_file);
free (dir_name);
}
}