diff options
| author | 2006-08-09 11:33:10 +0000 | |
|---|---|---|
| committer | 2006-08-09 11:33:10 +0000 | |
| commit | 09afa5085614e0224a296abd082fce205003c3fe (patch) | |
| tree | 444d54deea5f10e3045e0a8a016f9623499f513e /src/cmd_ping.cpp | |
| parent | Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do... (diff) | |
ServerConfig extern moved into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_ping.cpp')
| -rw-r--r-- | src/cmd_ping.cpp | 4 |
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]); } |
