diff options
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r-- | src/modules/m_swhois.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 5c2fb6011..d8c8a33bb 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -25,6 +25,12 @@ #include "inspircd.h" +enum +{ + // From UnrealIRCd. + RPL_WHOISSPECIAL = 320 +}; + /** Handle /SWHOIS */ class CommandSwhois : public Command @@ -102,7 +108,7 @@ class ModuleSWhois : public Module, public Whois::LineEventListener std::string* swhois = cmd.swhois.get(whois.GetTarget()); if (swhois) { - whois.SendLine(320, *swhois); + whois.SendLine(RPL_WHOISSPECIAL, *swhois); } } |