]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_pong.cpp
Add a metric assload of TRANSLATE macros to modules.
[user/henk/code/inspircd.git] / src / cmd_pong.cpp
index f372591e475d891cf0474140136a66d86da3a606..08d47eca7f54c908aac6937479cbd15689d6aefa 100644 (file)
@@ -2,24 +2,26 @@
  *       | 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 "cmd_pong.h"
+#include "inspircd.h"
+#include "commands/cmd_pong.h"
 
-void cmd_pong::Handle (char **parameters, int pcnt, userrec *user)
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+{
+       return new cmd_pong(Instance);
+}
+
+CmdResult cmd_pong::Handle (const char** parameters, int pcnt, userrec *user)
 {
        // set the user as alive so they survive to next ping
        user->lastping = 1;
+       return CMD_SUCCESS;
 }