]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_squit.h
I think this fixes visual studio oddities
[user/henk/code/inspircd.git] / include / commands / cmd_squit.h
index 18fb2e9262f754d17f523825058458399e9ccef5..0f420127682af81b3d904988890c46b7dcb8120e 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 "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