]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setident.cpp
Some more text fixes and improvements (#1618).
[user/henk/code/inspircd.git] / src / modules / m_setident.cpp
index 93dd4c332bb2f97a4c1cd158feb5c3091562ea8d..04b5c97c858a440ac5e9c49f872af1d40081cf86 100644 (file)
@@ -30,10 +30,10 @@ class CommandSetident : public Command
  CommandSetident(Module* Creator) : Command(Creator,"SETIDENT", 1)
        {
                allow_empty_last_param = false;
-               flags_needed = 'o'; syntax = "<new-ident>";
+               flags_needed = 'o'; syntax = "<ident>";
        }
 
-       CmdResult Handle(const std::vector<std::string>& parameters, User *user)
+       CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
        {
                if (parameters[0].size() > ServerInstance->Config->Limits.IdentMax)
                {
@@ -65,7 +65,7 @@ class ModuleSetIdent : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for the SETIDENT command", VF_VENDOR);
+               return Version("Provides the SETIDENT command", VF_VENDOR);
        }
 };