]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_oper.h
Bad w00tie bad, /who isnt checking +s for channel /who!
[user/henk/code/inspircd.git] / include / commands / cmd_oper.h
index 37d449af76d889c3f2b1d66eb757db8249275b05..438f5f8a7da35adac9c2b0ded8358736819ed821 100644 (file)
 
 // 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* hostlist);
+bool OneOfMatches(const char* host, const char* ip, const char* hostlist);
 
+/** Handle /OPER
+ */
 class cmd_oper : public command_t
 {
  public:
-        cmd_oper () : command_t("OPER",0,2) { syntax = "<username> <password>"; }
-        void Handle(const char** parameters, int pcnt, userrec *user);
+        cmd_oper (InspIRCd* Instance) : command_t(Instance,"OPER",0,2) { syntax = "<username> <password>"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif