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