*/
#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;
}