X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_notice.h;h=fd1d42654f67fa67c4cb0dc389412cc8e350737e;hb=9f13269062094853b023d09b4ac24d2cf08a0de2;hp=358e405d69139f840d30e8be32216a67c0f825b8;hpb=0757a4a495daabf661ac3b7ab79f0a5ee423abe8;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_notice.h b/include/commands/cmd_notice.h index 358e405d6..fd1d42654 100644 --- a/include/commands/cmd_notice.h +++ b/include/commands/cmd_notice.h @@ -19,20 +19,16 @@ // include the common header files -#include -#include -#include -#include -#include -#include #include "users.h" #include "channels.h" +/** Handle /NOTICE + */ class cmd_notice : public command_t { public: - cmd_notice () : command_t("NOTICE",0,2) { } - void Handle(const char** parameters, int pcnt, userrec *user); + cmd_notice (InspIRCd* Instance) : command_t(Instance,"NOTICE",0,2) { syntax = "{,} "; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif