]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_connect.cpp
Debug to try figure this out ..
[user/henk/code/inspircd.git] / src / cmd_connect.cpp
index da4a115654e8ca87cea3913b09cac37bcace572c..0f1e106951db7a9abfa3821ac213f7fb9a1c802a 100644 (file)
@@ -1 +1,32 @@
-/*       +------------------------------------+\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_connect.h"\r\r/*\r * This is handled by the server linking module, if necessary. Do not remove this stub.\r */\r\rextern "C" DllExport command_t* init_command(InspIRCd* Instance)\r{\r    return new cmd_connect(Instance);\r}\r\r/** Handle /CONNECT\r */\rCmdResult cmd_connect::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_SUCCESS;\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_connect.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_connect(Instance);
+}
+
+/** Handle /CONNECT
+ */
+CmdResult cmd_connect::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_SUCCESS;
+}