]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_oper.h
Move whowas containers into whowas class to avoid all cpp files including cmd_whowas...
[user/henk/code/inspircd.git] / include / commands / cmd_oper.h
index afb10e3cb38def2b7a88123f4d42f4e33c192c53..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* 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