Skip to content

Commit d2f6a70

Browse files
emersionprogval
authored andcommitted
Recommend using the nickname as fallback value for USER params
1 parent 3ea656c commit d2f6a70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_includes/messages/connection.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ The minimum length of `<username>` is 1, ie. it MUST not be empty. If it is empt
9292

9393
The second and third parameters of this command SHOULD be sent as one zero `('0', 0x30)` and one asterisk character `('*', 0x2A)` by the client, as the meaning of these two parameters varies between different versions of the IRC protocol.
9494

95+
Clients SHOULD use the nickname as a fallback value for `<username>` and `<realname>` when they don't have a meaningful value to use.
96+
9597
If a client tries to send the `USER` command after they have already completed registration with the server, the `ERR_ALREADYREGISTERED` reply should be sent and the attempt should fail.
9698

9799
If the client sends a `USER` command after the server has successfully received a username using the Ident Protocol, the `<username>` parameter from this command should be ignored in favour of the one received from the identity server.

0 commit comments

Comments
 (0)