]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_zline.h
In the grand tradition of huge fucking commits:
[user/henk/code/inspircd.git] / include / commands / cmd_zline.h
index 1a89dcf82a84567c94008c57d02975cdad9d6931..e3ad7b727dc02c4f799b85ec2b5829b13ed3deab 100644 (file)
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_zline : public command_t
+class cmd_zline : public Command
 {
  public:
        /** Constructor for zline.
         */
-       cmd_zline (InspIRCd* Instance) : command_t(Instance,"ZLINE",'o',1) { syntax = "<ipmask> [<duration> :<reason>]"; }
+       cmd_zline (InspIRCd* Instance) : Command(Instance,"ZLINE",'o',1) { syntax = "<ipmask> [<duration> :<reason>]"; }
        /** 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