X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_squit.h;h=1b34ce36613b4db21b9b483ff1f93c6f6a018f58;hb=b57568ecc46296ba3a0e06d770eceff40cc9aee4;hp=18fb2e9262f754d17f523825058458399e9ccef5;hpb=65923c4d397ce3655473b2d25db5acc90aa78075;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_squit.h b/include/commands/cmd_squit.h index 18fb2e926..1b34ce366 100644 --- a/include/commands/cmd_squit.h +++ b/include/commands/cmd_squit.h @@ -19,20 +19,19 @@ // include the common header files -#include -#include #include -#include -#include #include +#include "inspircd.h" #include "users.h" #include "channels.h" +/** Handle /SQUIT + */ class cmd_squit : public command_t { public: - cmd_squit () : command_t("SQUIT",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + cmd_squit (InspIRCd* Instance) : command_t(Instance,"SQUIT",'o',1) { syntax = " []"; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif