X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules%2Fwhois.h;h=c081a2b6af4194109b02b9fb4860e236110b7ee8;hb=0db24252fd119cafee34f1bfa023763fcdd7ebf5;hp=4f09d268bff7f935bafabc05c8a786a53348ea0b;hpb=565544fac966b14e046bb3042ab485f79bcf7c9e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modules/whois.h b/include/modules/whois.h index 4f09d268b..c081a2b6a 100644 --- a/include/modules/whois.h +++ b/include/modules/whois.h @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2015 Attila Molnar + * Copyright (C) 2015-2016 Attila Molnar * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -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: