summaryrefslogtreecommitdiff
path: root/src/plugins/script/script-completion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/script/script-completion.c')
-rw-r--r--src/plugins/script/script-completion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/script/script-completion.c b/src/plugins/script/script-completion.c
index e889bb6a5..8d3279286 100644
--- a/src/plugins/script/script-completion.c
+++ b/src/plugins/script/script-completion.c
@@ -214,14 +214,14 @@ script_completion_scripts_files_cb (const void *pointer, void *data,
/* look for files in "~/.weechat/<language>/" */
snprintf (directory, length,
"%s/%s", weechat_home, script_language[i]);
- weechat_exec_on_files (directory, 0,
+ weechat_exec_on_files (directory, 0, 0,
&script_completion_exec_file_cb,
pointers);
/* look for files in "~/.weechat/<language>/autoload/" */
snprintf (directory, length,
"%s/%s/autoload", weechat_home, script_language[i]);
- weechat_exec_on_files (directory, 0,
+ weechat_exec_on_files (directory, 0, 0,
&script_completion_exec_file_cb,
pointers);
}