1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (closes #60)

This commit is contained in:
Sébastien Helleu
2019-10-06 09:38:52 +02:00
parent 6e382d26a9
commit 587f5bf15b
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -6515,7 +6515,8 @@ irc_command_init ()
" send file \"/home/foo/bar.txt\" to nick \"toto\":\n"
" /dcc send toto /home/foo/bar.txt"),
"chat %(nicks)"
" || send %(nicks) %(filename)",
" || send %(nicks) "
"%(filename:${modifier:eval_path_home,,${xfer.file.upload_path}})",
&irc_command_dcc, NULL, NULL);
weechat_hook_command (
"dehalfop",