]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_clones.cpp
Fix these to use new hook system (u_listmode wasnt fixed yet)
[user/henk/code/inspircd.git] / src / modules / m_clones.cpp
index 82fdf535f7fba8cd97edd95a7fd7290d9f98f762..654de81f378e51b50c00cd9d9a51b03294692a7e 100644 (file)
 
 /** Handle /CHECK
  */
-class cmd_clones : public Command
+class CommandClones : public Command
 {
  public:
-       cmd_clones (InspIRCd* Instance) : Command(Instance,"CLONES", 'o', 1)
+       CommandClones (InspIRCd* Instance) : Command(Instance,"CLONES", 'o', 1)
        {
                this->source = "m_clones.so";
                syntax = "<limit>";
@@ -69,13 +69,14 @@ class cmd_clones : public Command
 class ModuleClones : public Module
 {
  private:
-       cmd_clones *mycommand;
+       CommandClones *mycommand;
  public:
        ModuleClones(InspIRCd* Me) : Module(Me)
        {
                
-               mycommand = new cmd_clones(ServerInstance);
+               mycommand = new CommandClones(ServerInstance);
                ServerInstance->AddCommand(mycommand);
+
        }
        
        virtual ~ModuleClones()