summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-05-02 13:12:22 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-05-11 21:07:00 +0200
commit6170f97cd6fbe6b489a47210d20f1d51696b985b (patch)
tree2cb12ef0c88f3ba37e43780c92eca26a66c8ab14 /src/plugins
parent19bf10647c2a182f36a4d6fc2e87e21f7d897f1c (diff)
downloadweechat-6170f97cd6fbe6b489a47210d20f1d51696b985b.zip
xfer: change default value of option xfer.file.download_path to "${weechat_data_dir}/xfer" (issue #1285)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/xfer/xfer-config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c
index 499edb58d..05831dbc3 100644
--- a/src/plugins/xfer/xfer-config.c
+++ b/src/plugins/xfer/xfer-config.c
@@ -381,10 +381,10 @@ xfer_config_init ()
xfer_config_file_download_path = weechat_config_new_option (
xfer_config_file, ptr_section,
"download_path", "string",
- N_("path for writing incoming files: \"%h\" at beginning of string is "
- "replaced by WeeChat home (\"~/.weechat\" by default) "
- "(note: content is evaluated, see /help eval)"),
- NULL, 0, 0, "%h/xfer", NULL, 0,
+ N_("path for writing incoming files "
+ "(path is evaluated, see function string_eval_path_home in "
+ "plugin API reference)"),
+ NULL, 0, 0, "${weechat_data_dir}/xfer", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_file_download_temporary_suffix = weechat_config_new_option (
xfer_config_file, ptr_section,