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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_ping.cpp b/src/cmd_ping.cpp
index b30a9d0fa..48bc8e6b0 100644
--- a/src/cmd_ping.cpp
+++ b/src/cmd_ping.cpp
@@ -25,5 +25,5 @@ extern ServerConfig* Config;
void cmd_ping::Handle (const char** parameters, int pcnt, userrec *user)
{
- WriteServ(user->fd,"PONG %s :%s",Config->ServerName,parameters[0]);
+ user->WriteServ("PONG %s :%s",Config->ServerName,parameters[0]);
}