summaryrefslogtreecommitdiff
path: root/src/cmd_pong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_pong.cpp')
-rw-r--r--src/cmd_pong.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_pong.cpp b/src/cmd_pong.cpp
index 9a388c021..5e619b5b1 100644
--- a/src/cmd_pong.cpp
+++ b/src/cmd_pong.cpp
@@ -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;
}