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