]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_part.h
Bad w00tie bad, /who isnt checking +s for channel /who!
[user/henk/code/inspircd.git] / include / commands / cmd_part.h
index 994244d562d144652659e3ea5f3f1281399713d7..5f74b98555d9e776827349adcd6204c798c59805 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 /PART
+ */
 class cmd_part : public command_t
 {
  public:
-        cmd_part () : command_t("PART",0,1) { }
-        void Handle(char **parameters, int pcnt, userrec *user);
+        cmd_part (InspIRCd* Instance) : command_t(Instance,"PART",0,1) { syntax = "<channel>{,<channel>} [<reason>]"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif