diff options
Diffstat (limited to 'src/modules/m_customtitle.cpp')
-rw-r--r-- | src/modules/m_customtitle.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index 16d1ae738..76d37b9d9 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -21,6 +21,12 @@ #include "inspircd.h" +enum +{ + // From UnrealIRCd. + RPL_WHOISSPECIAL = 320 +}; + /** Handle /TITLE */ class CommandTitle : public Command @@ -91,7 +97,7 @@ class ModuleCustomTitle : public Module, public Whois::LineEventListener const std::string* ctitle = cmd.ctitle.get(whois.GetTarget()); if (ctitle) { - whois.SendLine(320, ctitle); + whois.SendLine(RPL_WHOISSPECIAL, ctitle); } } /* Don't block anything */ |