]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_away.h
Implement <options:prefixpart|suffixpart|fixedpart>
[user/henk/code/inspircd.git] / include / commands / cmd_away.h
index 73b75fd28d55ca1474cf243870d433f2036eadd7..33efeb67fe90741b923cc5ab86f5d77c8290ae91 100644 (file)
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_away : public command_t
+class CommandAway : public Command
 {
  public:
        /** Constructor for away.
         */
-       cmd_away (InspIRCd* Instance) : command_t(Instance,"AWAY",0,0) { syntax = "[<message>]"; }
+       CommandAway (InspIRCd* Instance) : Command(Instance,"AWAY",0,0) { syntax = "[<message>]"; }
        /** 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