diff options
| author | 2021-08-15 10:16:56 +0200 | |
|---|---|---|
| committer | 2021-08-15 09:16:56 +0100 | |
| commit | de89682738cd843c76908ef8f8cdfefe517ac308 (patch) | |
| tree | 1788affd554599777b0de90b15fd214c0ac207fd /include/modules | |
| parent | Remove the use of a deprecated OpenSSL method. (diff) | |
Send RPL_WHOISACTUALLY instead of RPL_WHOISHOST (#1923)
Unlike RPL_WHOISHOST, it contains the user@host and ip as separate parameters,
instead of having them in the free-text parameter.
To my knowledge, there are three different syntaxes for RPL_WHOISACTUALLY:
1. "<client> <nick> :is actually ..." (bahamut)
2. "<client> <nick> <host> :Is actually using host" (charybdis family)
3. "<client> <nick> <username>@<host> <ip> :Is actually using host"
(ircu2, ergo, hybrid, ...)
I chose the third one because it contains the most info, and is the most
common one.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/whois.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules/whois.h b/include/modules/whois.h index 706dd9312..891ecd6de 100644 --- a/include/modules/whois.h +++ b/include/modules/whois.h @@ -42,6 +42,9 @@ enum // From oftc-hybrid. RPL_WHOISCERTFP = 276, + // From ircd-hybrid. + RPL_WHOISACTUALLY = 338, + // From RFC 1459. RPL_WHOISUSER = 311, RPL_WHOISSERVER = 312, @@ -55,7 +58,6 @@ enum RPL_WHOISHELPOP = 310, RPL_WHOISSPECIAL = 320, RPL_WHOISBOT = 335, - RPL_WHOISHOST = 378, RPL_WHOISMODES = 379, RPL_WHOISSECURE = 671 }; |
