X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_sethost.cpp;h=dad8491530c59da43d3dfb32f4b6dfb90e647fe7;hb=f6b33a8facd6ca200292786c1061782c41cdd278;hp=678d9d9797497dfa1eda5395e2407abffc8bcf32;hpb=35b70631f0532a5828b04a8e0c02092a285f331a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 678d9d979..dad849153 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -32,10 +32,10 @@ class CommandSethost : public Command : Command(Creator,"SETHOST", 1) { allow_empty_last_param = false; - flags_needed = 'o'; syntax = ""; + flags_needed = 'o'; syntax = ""; } - CmdResult Handle(const std::vector& 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); } };