cmd_oper.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __CMD_OPER_H__
00015 #define __CMD_OPER_H__
00016
00017
00018
00019 #include "users.h"
00020 #include "channels.h"
00021
00022 bool OneOfMatches(const char* host, const char* ip, const char* hostlist);
00023
00029 class CommandOper : public Command
00030 {
00031 public:
00034 CommandOper (InspIRCd* Instance) : Command(Instance,"OPER",0,2,false,2) { syntax = "<username> <password>"; }
00041 CmdResult Handle(const std::vector<std::string>& parameters, User *user);
00042 };
00043
00044 #endif