CommandSetname(Module* Creator) : Command(Creator,"SETNAME", 1, 1)
{
allow_empty_last_param = false;
- syntax = "<new real name>";
+ syntax = ":<realname>";
}
CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
{
- ConfigTag* tag = ServerInstance->Config->ConfValue("cgiirc");
+ ConfigTag* tag = ServerInstance->Config->ConfValue("setname");
// Whether the module should only be usable by server operators.
bool operonly = tag->getBool("operonly");
Version GetVersion() CXX11_OVERRIDE
{
- return Version("Provides support for the SETNAME command", VF_VENDOR);
+ return Version("Provides the SETNAME command", VF_VENDOR);
}
};