X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_privmsg.h;h=7e58f0c6ad782f3165934bc5d88ed6062c23d2f3;hb=9f13269062094853b023d09b4ac24d2cf08a0de2;hp=12b11cb229be7281086d8bc37d002daab99d2d15;hpb=dc8f5d02f77aeabefaefe88005b99c8b47030ab7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_privmsg.h b/include/commands/cmd_privmsg.h index 12b11cb22..7e58f0c6a 100644 --- a/include/commands/cmd_privmsg.h +++ b/include/commands/cmd_privmsg.h @@ -19,20 +19,16 @@ // include the common header files -#include -#include -#include -#include -#include -#include #include "users.h" #include "channels.h" +/** Handle /PRIVMSG + */ class cmd_privmsg : public command_t { public: - cmd_privmsg () : command_t("PRIVMSG",0,2) { syntax = "{,} "; } - void Handle(const char** parameters, int pcnt, userrec *user); + cmd_privmsg (InspIRCd* Instance) : command_t(Instance,"PRIVMSG",0,2) { syntax = "{,} "; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif