]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_squit.h
Annotations
[user/henk/code/inspircd.git] / include / commands / cmd_squit.h
index d22ee92645b3de79632f44c1141ba3a97339f13c..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) { syntax = "<servername> [<reason>]"; }
-        void Handle(const 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