summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-04-17 23:41:12 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-04-17 23:41:12 +0200
commit242c37829086d5f1ca2bacb4524f40a535ed7d2d (patch)
tree68263ec18c5b32ab13fad8d33a243cb180a45764 /doc/en
parent95c908e83cbdfa95d4803121d28a510e94671fa1 (diff)
downloadweechat-242c37829086d5f1ca2bacb4524f40a535ed7d2d.zip
doc: fix examples of handshake command (relay protocol)
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_relay_protocol.en.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/en/weechat_relay_protocol.en.adoc b/doc/en/weechat_relay_protocol.en.adoc
index f9260ef40..bc787ef03 100644
--- a/doc/en/weechat_relay_protocol.en.adoc
+++ b/doc/en/weechat_relay_protocol.en.adoc
@@ -173,13 +173,13 @@ Examples:
----
# nothing offered by the client (or only "plain"), authentication password "plain" will be used if allowed on relay side
handshake
-handshake password=plain
+handshake password_hash_algo=plain
# only plain, sha256 and pbkdf2+sha256 are supported by the client
-handshake password=plain:sha256:pbkdf2+sha256
+handshake password_hash_algo=plain:sha256:pbkdf2+sha256
# only sha256 and sha512 are supported by the client, disable compression
-handshake password=sha256:sha512,compression=off
+handshake password_hash_algo=sha256:sha512,compression=off
----
Example of response:
@@ -1929,7 +1929,7 @@ A _NULL_ array:
║ open socket ║ add client ║
║ ║ ║
╟───────────────────────────────► ║ ║
- ║ cmd: handshake password=xxx,... ║ negotiate algos ║
+ ║ cmd: handshake ... ║ negotiate algos ║
║ ║ and options ║
║ ◄───────────────────────────────╢ ║
║ msg: id: "handshake" ... ║ ║