public:
CommandChgident(Module* Creator) : Command(Creator,"CHGIDENT", 2)
{
- flags_needed = 'o'; syntax = "<nick> <newident>";
+ flags_needed = 'o';
+ syntax = "<nick> <newident>";
TRANSLATE3(TR_NICK, TR_TEXT, TR_END);
}
return CMD_FAILURE;
}
- if (parameters[1].empty())
- {
- user->WriteServ("NOTICE %s :*** CHGIDENT: Ident must be specified", user->nick.c_str());
- return CMD_FAILURE;
- }
-
if (parameters[1].length() > ServerInstance->Config->Limits.IdentMax)
{
user->WriteServ("NOTICE %s :*** CHGIDENT: Ident is too long", user->nick.c_str());
virtual Version GetVersion()
{
- return Version("Provides support for the CHGIDENT command", VF_OPTCOMMON | VF_VENDOR, API_VERSION);
+ return Version("Provides support for the CHGIDENT command", VF_OPTCOMMON | VF_VENDOR);
}
};