X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_globops.cpp;h=e70645161ca42779333bdfdfbf9d3bc023e7120b;hb=e59cb85871f75b7603c63c6cd274d57536cf6794;hp=1fe911e805101ae636bf42428801497f31138b50;hpb=35b70631f0532a5828b04a8e0c02092a285f331a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 1fe911e80..e70645161 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -30,10 +30,10 @@ class CommandGlobops : public Command public: CommandGlobops(Module* Creator) : Command(Creator,"GLOBOPS", 1,1) { - 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 { ServerInstance->SNO->WriteGlobalSno('g', "From " + user->nick + ": " + parameters[0]); return CMD_SUCCESS; @@ -53,7 +53,7 @@ class ModuleGlobops : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides support for GLOBOPS and snomask +g", VF_VENDOR); + return Version("Provides the GLOBOPS command and snomask 'g'", VF_VENDOR); } };