summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/script.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-14 16:35:06 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-14 16:35:06 +0200
commit92940e52f1e30e4021555deefbf16ffd0e318c1b (patch)
treefed35d6ed59cf2a0ea155bf61ecd1a3e3e9a662d /src/plugins/scripts/script.c
parent3379ac47578cbc6fd9e1260ab9a27b84244772b6 (diff)
downloadweechat-92940e52f1e30e4021555deefbf16ffd0e318c1b.zip
Do not auto-load hidden files in script plugins (bug #21390)
Diffstat (limited to 'src/plugins/scripts/script.c')
-rw-r--r--src/plugins/scripts/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/script.c b/src/plugins/scripts/script.c
index 24f23c3d3..6837b888a 100644
--- a/src/plugins/scripts/script.c
+++ b/src/plugins/scripts/script.c
@@ -404,7 +404,7 @@ script_auto_load (struct t_weechat_plugin *weechat_plugin,
snprintf (dir_name, dir_length,
"%s/%s/autoload", dir_home, weechat_plugin->name);
- weechat_exec_on_files (dir_name, NULL, callback);
+ weechat_exec_on_files (dir_name, 0, NULL, callback);
free (dir_name);
}