]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_kill.h
Implement <options:prefixpart|suffixpart|fixedpart>
[user/henk/code/inspircd.git] / include / commands / cmd_kill.h
index 1e1835f0091bfc13e17229eec123af85adfd1b58..655c4425794d1a94d8fe8ae0f50bd4050a038897 100644 (file)
  * the same way, however, they can be fully unloaded, where these
  * may not.
  */
-class cmd_kill : public Command
+class CommandKill : public Command
 {
  public:
        /** Constructor for kill.
         */
-       cmd_kill (InspIRCd* Instance) : Command(Instance,"KILL",'o',2) { syntax = "<nickname> <reason>"; }
+       CommandKill (InspIRCd* Instance) : Command(Instance,"KILL",'o',2,false,0) { 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