#include "inspircd.h"
+enum
+{
+ // From UnrealIRCd.
+ RPL_WHOISHELPOP = 310
+};
+
typedef std::map<std::string, std::string, irc::insensitive_swo> HelpopMap;
static HelpopMap helpop_map;
syntax = "<any-text>";
}
- CmdResult Handle (const std::vector<std::string> ¶meters, User *user)
+ CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE
{
const std::string& parameter = (!parameters.empty() ? parameters[0] : startkey);
{
if (whois.GetTarget()->IsModeSet(ho))
{
- whois.SendLine(310, "is available for help.");
+ whois.SendLine(RPL_WHOISHELPOP, "is available for help.");
}
}