X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_oper.h;h=438f5f8a7da35adac9c2b0ded8358736819ed821;hb=9f13269062094853b023d09b4ac24d2cf08a0de2;hp=cfbdb8815c7e71d8dfe648f40f2e2243505bb32d;hpb=5b8d2c4cabec5e6bb7aaf359e6cf6af9635c8dab;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h index cfbdb8815..438f5f8a7 100644 --- a/include/commands/cmd_oper.h +++ b/include/commands/cmd_oper.h @@ -24,11 +24,13 @@ 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