summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-05-02 12:24:18 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-05-11 21:06:51 +0200
commit36847bd30548acb72cc0c41c4cfff6f5792e2ff2 (patch)
tree0aa6c361f635a91cd81d5dda8c4b3040c3e9d37a /src
parent005ef8a4a9bacd06a5be4f79b62aa67ad11dbb37 (diff)
downloadweechat-36847bd30548acb72cc0c41c4cfff6f5792e2ff2.zip
relay: remove "%h" from /help relay (issue #1285)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/relay/relay-command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/relay/relay-command.c b/src/plugins/relay/relay-command.c
index 794464f17..80198703c 100644
--- a/src/plugins/relay/relay-command.c
+++ b/src/plugins/relay/relay-command.c
@@ -413,8 +413,8 @@ relay_command_init ()
" name: relay name (see format below)\n"
" port: port used for relay\n"
" path: path used for relay (for UNIX domain socket only); "
- "\"%h\" at beginning of string is replaced by WeeChat home "
- "(\"~/.weechat\" by default), content is evaluated (see /help eval)\n"
+ "path is evaluated (see function string_eval_path_home in "
+ "plugin API reference)\n"
" raw: open buffer with raw Relay data\n"
" sslcertkey: set SSL certificate/key using path in option "
"relay.network.ssl_cert_key\n"
@@ -457,7 +457,7 @@ relay_command_init ()
" weechat protocol with SSL, using IPv4 + IPv6:\n"
" /relay add ipv4.ipv6.ssl.weechat 9001\n"
" weechat protocol over UNIX domain socket:\n"
- " /relay add unix.weechat %h/relay_socket"),
+ " /relay add unix.weechat ${weechat_runtime_dir}/relay_socket"),
"list %(relay_relays)"
" || listfull %(relay_relays)"
" || listrelay"