]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_user.h
Penalty should be 'const int'. Note, you can set a const in the constructors init...
[user/henk/code/inspircd.git] / include / commands / cmd_user.h
index 29a8591310eaad0cec9d9c82ddbc5b8c60f6e963..186269d9a193d23dff181f6c1ba4f7a2136ef46a 100644 (file)
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_user : public command_t
+class cmd_user : public Command
 {
  public:
        /** Constructor for user.
         */
-       cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4,true) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
+       cmd_user (InspIRCd* Instance) : Command(Instance,"USER",0,4,true) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
        /** 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