diff options
| author | 2017-12-09 13:43:44 +0000 | |
|---|---|---|
| committer | 2017-12-09 13:43:44 +0000 | |
| commit | e8da9b7a266c545844bfb4a3987b7fc0b05f2cf7 (patch) | |
| tree | 8108564a240a0ff38511bf1aa224ccc44028d37f /src/modules/m_helpop.cpp | |
| parent | Clean up m_password_hash slightly. (diff) | |
| download | inspircd++-e8da9b7a266c545844bfb4a3987b7fc0b05f2cf7.tar.gz inspircd++-e8da9b7a266c545844bfb4a3987b7fc0b05f2cf7.tar.bz2 inspircd++-e8da9b7a266c545844bfb4a3987b7fc0b05f2cf7.zip | |
Add names for a bunch more numerics.
Diffstat (limited to 'src/modules/m_helpop.cpp')
| -rw-r--r-- | src/modules/m_helpop.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index ecab97ca2..b8c5d3029 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -23,6 +23,12 @@ #include "inspircd.h" +enum +{ + // From UnrealIRCd. + RPL_WHOISHELPOP = 310 +}; + typedef std::map<std::string, std::string, irc::insensitive_swo> HelpopMap; static HelpopMap helpop_map; @@ -145,7 +151,7 @@ class ModuleHelpop : public Module, public Whois::EventListener { if (whois.GetTarget()->IsModeSet(ho)) { - whois.SendLine(310, "is available for help."); + whois.SendLine(RPL_WHOISHELPOP, "is available for help."); } } |
