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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user