summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-01-23 11:38:07 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-01-23 11:38:07 +0100
commit498f2131a747acc1c0e48cfc5b4bd33c6fef4e31 (patch)
tree3ef998c9361db319af7c09b28d18a580ab9b9ee0 /src/plugins
parentf6b26e560458711e4aaa60d1ef5d1ff5530d5150 (diff)
downloadweechat-498f2131a747acc1c0e48cfc5b4bd33c6fef4e31.zip
relay: add protocol "weechat" in /help relay
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/relay/relay-command.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/plugins/relay/relay-command.c b/src/plugins/relay/relay-command.c
index cc3f8135f..acb88feb4 100644
--- a/src/plugins/relay/relay-command.c
+++ b/src/plugins/relay/relay-command.c
@@ -307,17 +307,20 @@ relay_command_init ()
" listrelay: list relays (name and port)\n"
" add: add relay for a protocol + name\n"
" del: remove relay for a protocol + name\n"
- "protocol.name: protocol and name to relay\n"
- " currently, only protocol \"irc\" "
- "is supported\n"
- " for example: irc.freenode\n"
+ "protocol.name: protocol and name to relay:\n"
+ " - protocol \"irc\": name is the "
+ "server to share\n"
+ " - protocol \"weechat\" (name is "
+ "not used)\n"
" port: port used for relay\n"
" raw: open buffer with raw Relay data\n\n"
"Without argument, this command opens buffer "
"with list of relay clients.\n\n"
- "Example:\n"
+ "Examples:\n"
" irc proxy, for server \"freenode\":\n"
- " /relay add irc.freenode 8000"),
+ " /relay add irc.freenode 8000\n"
+ " weechat protocol:\n"
+ " /relay add weechat 8001"),
"list %(relay_relays)"
" || listfull %(relay_relays)"
" || listrelay"