]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Replace all abstract usages of his/he/her with they/their/it.
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index 678d9d9797497dfa1eda5395e2407abffc8bcf32..dad8491530c59da43d3dfb32f4b6dfb90e647fe7 100644 (file)
@@ -32,10 +32,10 @@ class CommandSethost : public Command
                : Command(Creator,"SETHOST", 1)
        {
                allow_empty_last_param = false;
-               flags_needed = 'o'; syntax = "<new-hostname>";
+               flags_needed = 'o'; syntax = "<host>";
        }
 
-       CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE
+       CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
        {
                if (parameters[0].length() > ServerInstance->Config->Limits.MaxHost)
                {
@@ -84,7 +84,7 @@ class ModuleSetHost : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for the SETHOST command", VF_VENDOR);
+               return Version("Provides the SETHOST command", VF_VENDOR);
        }
 };