summaryrefslogtreecommitdiff
path: root/src/cmd_ping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_ping.cpp')
-rw-r--r--src/cmd_ping.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_ping.cpp b/src/cmd_ping.cpp
index 735f9c3be..fb0b03829 100644
--- a/src/cmd_ping.cpp
+++ b/src/cmd_ping.cpp
@@ -16,10 +16,10 @@
extern "C" DllExport Command* init_command(InspIRCd* Instance)
{
- return new cmd_ping(Instance);
+ return new CommandPing(Instance);
}
-CmdResult cmd_ping::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandPing::Handle (const char** parameters, int pcnt, User *user)
{
user->WriteServ("PONG %s :%s",ServerInstance->Config->ServerName,parameters[0]);
return CMD_SUCCESS;