]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_quit.h
I think this fixes visual studio oddities
[user/henk/code/inspircd.git] / include / commands / cmd_quit.h
index 937836e81226d50a7bb6f5d52e38fa937eb31a27..c9813757f2d304bf591782e9d8fb5b0194c72937 100644 (file)
@@ -2,14 +2,14 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *                <Craig@chatspike.net>
+ *  InspIRCd is copyright (C) 2002-2007 ChatSpike-Dev.
+ *                    E-mail:
+ *             <brain@chatspike.net>
+ *             <Craig@chatspike.net>
  *
  * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
- *            the file COPYING for details.
+ *         the file COPYING for details.
  *
  * ---------------------------------------------------
  */
 
 // 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 (InspIRCd* Instance) : command_t(Instance,"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