]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_globops.cpp
Some more text fixes and improvements (#1618).
[user/henk/code/inspircd.git] / src / modules / m_globops.cpp
index 1cb87324b5417cbd9803a9eed9d3011905f30874..e70645161ca42779333bdfdfbf9d3bc023e7120b 100644 (file)
@@ -30,10 +30,10 @@ class CommandGlobops : public Command
  public:
        CommandGlobops(Module* Creator) : Command(Creator,"GLOBOPS", 1,1)
        {
-               flags_needed = 'o'; syntax = "<any-text>";
+               flags_needed = 'o'; syntax = ":<message>";
        }
 
-       CmdResult Handle (const std::vector<std::string> &parameters, User *user)
+       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);
        }
 };