]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_commands.h
Penalty should be 'const int'. Note, you can set a const in the constructors init...
[user/henk/code/inspircd.git] / include / commands / cmd_commands.h
index c7206b6577b0b406db07f910dbaed37884161856..03a6c08ba5de6ac0738145a543cb61d7a156a963 100644 (file)
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_commands : public command_t
+class cmd_commands : public Command
 {
  public:
        /** Constructor for commands.
         */
-       cmd_commands (InspIRCd* Instance) : command_t(Instance,"COMMANDS",0,0) { }
+       cmd_commands (InspIRCd* Instance) : Command(Instance,"COMMANDS",0,0) { }
        /** 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