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 48bc8e6b0..a0caeb3cd 100644
--- a/src/cmd_ping.cpp
+++ b/src/cmd_ping.cpp
@@ -20,10 +20,10 @@
#include "helperfuncs.h"
#include "commands/cmd_ping.h"
-extern ServerConfig* Config;
+extern InspIRCd* ServerInstance;
void cmd_ping::Handle (const char** parameters, int pcnt, userrec *user)
{
- user->WriteServ("PONG %s :%s",Config->ServerName,parameters[0]);
+ user->WriteServ("PONG %s :%s",ServerInstance->Config->ServerName,parameters[0]);
}