]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_modules.h
Penalty should be 'const int'. Note, you can set a const in the constructors init...
[user/henk/code/inspircd.git] / include / commands / cmd_modules.h
index 7d2657416ef039720eac9a120409c4b08ddfdd7f..5dd3fab2b828f18ed6fb80e7100a210f141c9fa2 100644 (file)
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_modules : public command_t
+class cmd_modules : public Command
 {
  public:
        /** Constructor for modules.
         */
-       cmd_modules (InspIRCd* Instance) : command_t(Instance,"MODULES",0,0) { syntax = "[debug]"; }
+       cmd_modules (InspIRCd* Instance) : Command(Instance,"MODULES",0,0) { syntax = "[debug]"; }
        /** Handle command.
         * @param parameters The parameters to the comamnd
         * @param pcnt The number of parameters passed to teh command
         * @param user The user issuing the command
         * @return A value from CmdResult to indicate command success or failure.
         */
-       CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+       CmdResult Handle(const char** parameters, int pcnt, User *user);
 };
 
 #endif