X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_kick.h;h=10cf9bc716b3ecfb331321cdc82b66d16d73990a;hb=9f13269062094853b023d09b4ac24d2cf08a0de2;hp=c23c2aedd7334be86e68863b9c4c1350406747d2;hpb=65923c4d397ce3655473b2d25db5acc90aa78075;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_kick.h b/include/commands/cmd_kick.h index c23c2aedd..10cf9bc71 100644 --- a/include/commands/cmd_kick.h +++ b/include/commands/cmd_kick.h @@ -19,20 +19,16 @@ // include the common header files -#include -#include -#include -#include -#include -#include #include "users.h" #include "channels.h" +/** Handle /KICK + */ class cmd_kick : public command_t { public: - cmd_kick () : command_t("KICK",0,2) { } - void Handle(char **parameters, int pcnt, userrec *user); + cmd_kick (InspIRCd* Instance) : command_t(Instance,"KICK",0,2) { syntax = " {,} []"; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif