]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_kick.h
Move whowas containers into whowas class to avoid all cpp files including cmd_whowas...
[user/henk/code/inspircd.git] / include / commands / cmd_kick.h
index c23c2aedd7334be86e68863b9c4c1350406747d2..10cf9bc716b3ecfb331321cdc82b66d16d73990a 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"
 
+/** Handle /KICK
+ */
 class cmd_kick : public command_t
 {
  public:
-        cmd_kick () : command_t("KICK",0,2) { }
-        void Handle(char **parameters, int pcnt, userrec *user);
+        cmd_kick (InspIRCd* Instance) : command_t(Instance,"KICK",0,2) { syntax = "<channel> <nick>{,<nick>} [<reason>]"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif