X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_oper.h;h=cfbdb8815c7e71d8dfe648f40f2e2243505bb32d;hb=5b8d2c4cabec5e6bb7aaf359e6cf6af9635c8dab;hp=e71ca07a6a152b0b296261bca0b0242bcf4482ca;hpb=65923c4d397ce3655473b2d25db5acc90aa78075;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h index e71ca07a6..cfbdb8815 100644 --- a/include/commands/cmd_oper.h +++ b/include/commands/cmd_oper.h @@ -19,22 +19,16 @@ // include the common header files -#include -#include -#include -#include -#include -#include #include "users.h" #include "channels.h" -bool OneOfMatches(const char* host, const char* hostlist); +bool OneOfMatches(const char* host, const char* ip, const char* hostlist); class cmd_oper : public command_t { public: - cmd_oper () : command_t("OPER",0,2) { } - void Handle(char **parameters, int pcnt, userrec *user); + cmd_oper (InspIRCd* Instance) : command_t(Instance,"OPER",0,2) { syntax = " "; } + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif