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