From 312d49abb008dccf9871b663decaa1bacf18c20a Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 11:06:40 +0000 Subject: Move all of the xline stuff into class XLineManager, make an instance of it in class InspIRCd and use it (eliminates another extern) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4878 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index de46a1f29..b57de1692 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1424,4 +1424,8 @@ std::string ServerConfig::GetFullProgDir(char** argv, int argc) return otherdir; } +InspIRCd* ServerConfig::GetInstance() +{ + return ServerInstance; +} -- cgit v1.3.1-10-gc9f91