From de89682738cd843c76908ef8f8cdfefe517ac308 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Sun, 15 Aug 2021 10:16:56 +0200 Subject: 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. " :is actually ..." (bahamut) 2. " :Is actually using host" (charybdis family) 3. " @ :Is actually using host" (ircu2, ergo, hybrid, ...) I chose the third one because it contains the most info, and is the most common one.--- include/modules/whois.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/modules') 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 }; -- cgit v1.3.1-10-gc9f91