]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_squit.h
Bad w00tie bad, /who isnt checking +s for channel /who!
[user/henk/code/inspircd.git] / include / commands / cmd_squit.h
index 18fb2e9262f754d17f523825058458399e9ccef5..1b34ce36613b4db21b9b483ff1f93c6f6a018f58 100644 (file)
 
 // include the common header files
 
-#include <typeinfo>
-#include <iostream>
 #include <string>
-#include <deque>
-#include <sstream>
 #include <vector>
+#include "inspircd.h"
 #include "users.h"
 #include "channels.h"
 
+/** Handle /SQUIT
+ */
 class cmd_squit : public command_t
 {
  public:
-        cmd_squit () : command_t("SQUIT",'o',1) { }
-        void Handle(char **parameters, int pcnt, userrec *user);
+        cmd_squit (InspIRCd* Instance) : command_t(Instance,"SQUIT",'o',1) { syntax = "<servername> [<reason>]"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif