]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_rules.cpp
Fix small typo found by danieldg
[user/henk/code/inspircd.git] / src / cmd_rules.cpp
index ef531732d04c547762d59efc33a4b806c72cf92b..95b744412e15cc2fa22ea28e4bb56eb9764e3529 100644 (file)
@@ -1 +1,27 @@
-/*       +------------------------------------+\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_rules.h"\r\rextern "C" DllExport command_t* init_command(InspIRCd* Instance)\r{\r      return new cmd_rules(Instance);\r}\r\rCmdResult cmd_rules::Handle (const char** parameters, int pcnt, userrec *user)\r{\r    user->ShowRULES();\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 "users.h"
+#include "commands/cmd_rules.h"
+
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+{
+       return new cmd_rules(Instance);
+}
+
+CmdResult cmd_rules::Handle (const char** parameters, int pcnt, userrec *user)
+{
+       user->ShowRULES();
+       return CMD_SUCCESS;
+}