]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_squit.cpp
Fixed m_saquit to direct the command to the user's server and from there send a QUIT...
[user/henk/code/inspircd.git] / src / cmd_squit.cpp
index d6fe63c949b2c38a0913c68466bbe7edfbd351f5..94e7c148b502f092490d08c60e01c3a902e0ed9b 100644 (file)
@@ -1 +1,31 @@
-/*       +------------------------------------+\r *       | Inspire Internet Relay Chat Daemon |\r *       +------------------------------------+\r *\r *  InspIRCd: (C) 2002-2007 InspIRCd Development Team\r * See: http://www.inspircd.org/wiki/index.php/Credits\r *\r * This program is free but copyrighted software; see\r *            the file COPYING for details.\r *\r * ---------------------------------------------------\r */\r\r#include "inspircd.h"\r#include "users.h"\r#include "commands/cmd_squit.h"\r\r/*\r * This is handled by the server linking module, if necessary. Do not remove this stub.\r */\r\r\rextern "C" DllExport command_t* init_command(InspIRCd* Instance)\r{\r     return new cmd_squit(Instance);\r}\r\rCmdResult cmd_squit::Handle (const char** parameters, int pcnt, userrec *user)\r{\r    user->WriteServ( "NOTICE %s :You are a nub. Load a linking module.", user->nick);\r      return CMD_FAILURE;\r}\r
\ No newline at end of file
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+#include "inspircd.h"
+#include "commands/cmd_squit.h"
+
+/*
+ * This is handled by the server linking module, if necessary. Do not remove this stub.
+ */
+
+
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+{
+       return new cmd_squit(Instance);
+}
+
+CmdResult cmd_squit::Handle (const char** parameters, int pcnt, userrec *user)
+{
+       user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick);
+       return CMD_FAILURE;
+}