]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/rsquit.h
Include explicit routing information in Command, will replace CMD_LOCALONLY return...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / rsquit.h
index ed9eb83d4642677964c1c01553adeeec392ef4ab..96af641084b3565a66bd334a4cd11021d4dac0d7 100644 (file)
@@ -1 +1,29 @@
-/*       +------------------------------------+\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#ifndef __RSQUIT_H__\r#define __RSQUIT_H__\r\r/** Handle /RCONNECT\r */\rclass cmd_rsquit : public command_t\r{\r        Module* Creator;         /* Creator */\r        SpanningTreeUtilities* Utils;     /* Utility class */\r public:\r        cmd_rsquit (InspIRCd* Instance, Module* Callback, SpanningTreeUtilities* Util);\r        CmdResult Handle (const char** parameters, int pcnt, userrec *user);\r        void NoticeUser(userrec* user, const std::string &msg);\r};\r\r#endif\r
\ No newline at end of file
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+#ifndef __RSQUIT_H__
+#define __RSQUIT_H__
+
+/** Handle /RCONNECT
+ */
+class CommandRSQuit : public Command
+{
+        Module* Creator;               /* Creator */
+        SpanningTreeUtilities* Utils;  /* Utility class */
+ public:
+        CommandRSQuit (InspIRCd* Instance, Module* Callback, SpanningTreeUtilities* Util);
+        CmdResult Handle (const std::vector<std::string>& parameters, User *user);
+        void NoticeUser(User* user, const std::string &msg);
+};
+
+#endif