X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_chghost.cpp;h=0ca7dc78c97e12d18b18d42c60222a29f34b6e7b;hb=e59cb85871f75b7603c63c6cd274d57536cf6794;hp=10e447b45b6426cc2eb3d63191240ac53be07f15;hpb=4b7b332b9419a01476b813419d89d11c43e1f844;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 10e447b45..0ca7dc78c 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -33,11 +33,11 @@ class CommandChghost : public Command { allow_empty_last_param = false; flags_needed = 'o'; - syntax = " "; + syntax = " "; TRANSLATE2(TR_NICK, TR_TEXT); } - CmdResult Handle(const std::vector& parameters, User* user) CXX11_OVERRIDE + CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE { if (parameters[1].length() > ServerInstance->Config->Limits.MaxHost) { @@ -75,7 +75,7 @@ class CommandChghost : public Command return CMD_SUCCESS; } - RouteDescriptor GetRouting(User* user, const std::vector& parameters) CXX11_OVERRIDE + RouteDescriptor GetRouting(User* user, const Params& parameters) CXX11_OVERRIDE { return ROUTE_OPT_UCAST(parameters[0]); } @@ -103,7 +103,7 @@ class ModuleChgHost : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides support for the CHGHOST command", VF_OPTCOMMON | VF_VENDOR); + return Version("Provides the CHGHOST command", VF_OPTCOMMON | VF_VENDOR); } };