From 0db24252fd119cafee34f1bfa023763fcdd7ebf5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 25 Feb 2021 20:06:46 +0000 Subject: Implement support for multi-prefix on WHOIS. --- include/modules/whois.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include') diff --git a/include/modules/whois.h b/include/modules/whois.h index f158f82cc..c081a2b6a 100644 --- a/include/modules/whois.h +++ b/include/modules/whois.h @@ -28,6 +28,22 @@ namespace Whois class Context; } +enum +{ + // From RFC 1459. + RPL_WHOISUSER = 311, + RPL_WHOISOPERATOR = 313, + RPL_WHOISIDLE = 317, + RPL_WHOISCHANNELS = 319, + + // From UnrealIRCd. + RPL_WHOISHOST = 378, + RPL_WHOISMODES = 379, + + // InspIRCd-specific. + RPL_CHANNELSMSG = 651 +}; + class Whois::EventListener : public Events::ModuleEventListener { public: -- cgit v1.2.3