]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_clones.cpp
Update m_cloaking to use free-form keys instead of weakening the hash IV
[user/henk/code/inspircd.git] / src / modules / m_clones.cpp
index 407ef7ef352c8722c6345075251832a41ec992e9..9742ea29d6c714797c01229c871f952a71a6c16b 100644 (file)
@@ -20,9 +20,9 @@
 class CommandClones : public Command
 {
  public:
-       CommandClones (InspIRCd* Instance, Module* Creator) : Command(Instance, Creator,"CLONES", "o", 1)
+       CommandClones(Module* Creator) : Command(Creator,"CLONES", 1)
        {
-               syntax = "<limit>";
+               flags_needed = 'o'; syntax = "<limit>";
        }
 
        CmdResult Handle (const std::vector<std::string> &parameters, User *user)
@@ -61,7 +61,7 @@ class ModuleClones : public Module
  private:
        CommandClones cmd;
  public:
-       ModuleClones(InspIRCd* Me) : Module(Me), cmd(Me, this)
+       ModuleClones() : cmd(this)
        {
                ServerInstance->AddCommand(&cmd);
        }
@@ -72,7 +72,7 @@ class ModuleClones : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_VENDOR, API_VERSION);
+               return Version("Provides the /clones command to retrieve information on clones.", VF_VENDOR, API_VERSION);
        }