]> 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 9a388c021de18e4e0c79ed5d86d17e06c69cf286..5e619b5b15cbff40ebc9e548d207392a51a00437 100644 (file)
@@ -24,8 +24,9 @@ extern "C" command_t* init_command(InspIRCd* Instance)
        return new cmd_pong(Instance);
 }
 
-void cmd_pong::Handle (const char** parameters, int pcnt, userrec *user)
+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;
 }