diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-05-12 21:53:23 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-05-12 21:53:23 +0200 |
commit | 585eb337e8eb72698eaaf04cc1bd5069bd246ea3 (patch) | |
tree | 6aa07e6ff47c2b54a06733514f80497f7bac108e /src/plugins/relay/relay-config.c | |
parent | b228ccdfc3aec4108dfafe92384dcd21ae94833e (diff) | |
download | weechat-585eb337e8eb72698eaaf04cc1bd5069bd246ea3.zip |
relay: evaluate path of unix socket relay
Diffstat (limited to 'src/plugins/relay/relay-config.c')
-rw-r--r-- | src/plugins/relay/relay-config.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c index dfcad8d6c..904537216 100644 --- a/src/plugins/relay/relay-config.c +++ b/src/plugins/relay/relay-config.c @@ -764,7 +764,10 @@ relay_config_create_option_port_path (const void *pointer, void *data, { weechat_config_new_option ( config_file, section, - option_name, "string", NULL, + option_name, "string", + _("path to a socket file; \"%h\" at beginning of string " + "is replaced by WeeChat home (\"~/.weechat\" by default), " + "content is evaluated (see /help eval)"), NULL, 0, 0, "", value, 0, &relay_config_check_path_cb, NULL, NULL, &relay_config_change_path_cb, NULL, NULL, @@ -774,7 +777,8 @@ relay_config_create_option_port_path (const void *pointer, void *data, { weechat_config_new_option ( config_file, section, - option_name, "integer", NULL, + option_name, "integer", + _("port for relay"), NULL, 0, 65535, "", value, 0, &relay_config_check_port_cb, NULL, NULL, &relay_config_change_port_cb, NULL, NULL, |