]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_oper.h
Remove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never use
[user/henk/code/inspircd.git] / include / commands / cmd_oper.h
index e71ca07a6a152b0b296261bca0b0242bcf4482ca..cfbdb8815c7e71d8dfe648f40f2e2243505bb32d 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);
 
 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 = "<username> <password>"; }
+        void Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif