diff options
author | Sadie Powell <sadie@witchery.services> | 2021-02-25 20:06:46 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-02-25 20:10:34 +0000 |
commit | 0db24252fd119cafee34f1bfa023763fcdd7ebf5 (patch) | |
tree | c71033314cc0d94c226eb087b1e535709019878c /include/modules | |
parent | 61225fa14fe0c8335cbfec7a9764cfc3f31936bc (diff) |
Implement support for multi-prefix on WHOIS.
Diffstat (limited to 'include/modules')
-rw-r--r-- | include/modules/whois.h | 16 |
1 files changed, 16 insertions, 0 deletions
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: |