You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _includes/messages/user_queries.md
+6-10
Original file line number
Diff line number
Diff line change
@@ -48,17 +48,10 @@ Reply Examples:
48
48
Command: WHOIS
49
49
Parameters: [<target>] <nick>
50
50
51
-
This command is used to query information about particular users.
52
-
The server will answer this command with several numeric messages with information about the nicks, ending with [`RPL_ENDOFWHOIS`](#rplendofwhois-318).
51
+
This command is used to query information about a particular user.
52
+
The server SHOULD answer this command with numeric messages with information about the nick.
53
53
54
-
Servers MUST end their reply to `WHOIS` messages with one of these numerics:
55
-
56
-
* {% numeric ERR_NOSUCHNICK %}
57
-
* {% numeric ERR_NOSUCHSERVER %}
58
-
* {% numeric ERR_NONICKNAMEGIVEN %}
59
-
* {% numeric RPL_ENDOFWHOIS %}otherwise, even if they did not send any other numeric message. This allows clients to stop waiting for new numerics.
60
-
61
-
In exceptional error conditions, servers MAY not reply to a `WHOIS` command. Clients SHOULD implement a hard timeout to avoid waiting for a reply which won't come.
54
+
The server SHOULD end its response (to a syntactically well-formed client message) with [`RPL_ENDOFWHOIS`](#rplendofwhois-318), even if it did not send any other numeric message. This allows clients to stop waiting for new numerics. In exceptional error conditions, servers MAY not reply to a `WHOIS` command. Clients SHOULD implement a hard timeout to avoid waiting for a reply which won't come.
62
55
63
56
Client MUST NOT not assume all numeric messages are sent at once, as server can interleave other messages before the end of the WHOIS response.
64
57
@@ -67,6 +60,9 @@ Typically, it is used by clients who want to know how long the user in question
67
60
68
61
The following numerics MAY be returned as part of the whois reply:
0 commit comments