]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_motd.cpp
Slight change to traffic logging, as I never remember which way the damn arrows go...
[user/henk/code/inspircd.git] / src / cmd_motd.cpp
index c57da2e9fa9dcd55c66a3e3768e139b71e62ffa1..38117be6b0feb6ca8a52e3ae3f0d63ef76f7f83e 100644 (file)
@@ -2,24 +2,27 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *                <Craig@chatspike.net>
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
  *
- * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
  * ---------------------------------------------------
  */
 
-#include "users.h"
-#include "commands.h"
-
+#include "inspircd.h"
 #include "commands/cmd_motd.h"
 
-void cmd_motd::Handle (const char** parameters, int pcnt, userrec *user)
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+{
+       return new cmd_motd(Instance);
+}
+
+/** Handle /MOTD
+ */
+CmdResult cmd_motd::Handle (const char** parameters, int pcnt, userrec *user)
 {
        user->ShowMOTD();
+       return CMD_SUCCESS;
 }