X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_oper.h;h=438f5f8a7da35adac9c2b0ded8358736819ed821;hb=9f13269062094853b023d09b4ac24d2cf08a0de2;hp=afb10e3cb38def2b7a88123f4d42f4e33c192c53;hpb=66098d307c036997e51eaea21724615e27fdc3e9;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h index afb10e3cb..438f5f8a7 100644 --- a/include/commands/cmd_oper.h +++ b/include/commands/cmd_oper.h @@ -19,22 +19,18 @@ // include the common header files -#include -#include -#include -#include -#include -#include #include "users.h" #include "channels.h" bool OneOfMatches(const char* host, const char* ip, const char* hostlist); +/** Handle /OPER + */ class cmd_oper : public command_t { public: cmd_oper (InspIRCd* Instance) : command_t(Instance,"OPER",0,2) { syntax = " "; } - void Handle(const char** parameters, int pcnt, userrec *user); + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif