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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/script/script-completion.c b/src/plugins/script/script-completion.c
index e889bb6a5..914627a51 100644
--- a/src/plugins/script/script-completion.c
+++ b/src/plugins/script/script-completion.c
@@ -1,7 +1,7 @@
/*
* script-completion.c - completions for script command
*
- * Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
+ * Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
@@ -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);
}