]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_quit.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / commands / cmd_quit.h
index 891b2f0a30c9743743b537ad15324bef820481d7..04d183581b43c535a7d1fd8cbfa7e2fe790d6269 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 /QUIT
+ */
 class cmd_quit : public command_t
 {
  public:
-        cmd_quit () : command_t("QUIT",0,0) { syntax = "[<message>]"; }
-        void Handle(const char** parameters, int pcnt, userrec *user);
+        cmd_quit (InspIRCd* Instance) : command_t(Instance,"QUIT",0,0,true) { syntax = "[<message>]"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif