// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#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 = "<username> <password>"; }
- void Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
#endif