]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_pong.cpp
Whoops, make /stats s work
[user/henk/code/inspircd.git] / src / cmd_pong.cpp
index 76acfbccdc20527d8fb36c0988dacbed90c5fe79..5e619b5b15cbff40ebc9e548d207392a51a00437 100644 (file)
  */
 
 #include "users.h"
-#include "commands.h"
 #include "commands/cmd_pong.h"
-#include "helperfuncs.h"
 
-void cmd_pong::Handle (char **parameters, int pcnt, userrec *user)
+
+
+extern "C" 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;
 }