- cmd_kline () : command_t("KLINE",'o',1) { }
- void Handle(const char** parameters, int pcnt, userrec *user);
+ /** Constructor for kline.
+ */
+ CommandKline (InspIRCd* Instance) : Command(Instance,"KLINE","o",1,false,0) { syntax = "<ident@host> [<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* const* parameters, int pcnt, User *user);