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