aboutsummaryrefslogtreecommitdiff
path: root/src/cmd_version.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-08-09 11:33:10 +0000
committerGravatar brain2006-08-09 11:33:10 +0000
commit09afa5085614e0224a296abd082fce205003c3fe (patch)
tree444d54deea5f10e3045e0a8a016f9623499f513e /src/cmd_version.cpp
parentGet 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_version.cpp')
-rw-r--r--src/cmd_version.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_version.cpp b/src/cmd_version.cpp
index c5c4a13ee..3d98491f1 100644
--- a/src/cmd_version.cpp
+++ b/src/cmd_version.cpp
@@ -21,12 +21,12 @@
#include "helperfuncs.h"
#include "commands/cmd_version.h"
-extern ServerConfig* Config;
+extern InspIRCd* ServerInstance;
extern InspIRCd* ServerInstance;
void cmd_version::Handle (const char** parameters, int pcnt, userrec *user)
{
- std::stringstream out(Config->data005);
+ std::stringstream out(ServerInstance->Config->data005);
std::string token = "";
std::string line5 = "";
int token_counter = 0;