]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
Move all of the xline stuff into class XLineManager, make an instance of it in class...
[user/henk/code/inspircd.git] / src / configreader.cpp
index e4f56421ecba13b6f6517d7149927045650b95a9..b57de169214fb9d2ad672b30ed6bc5925cba07f7 100644 (file)
@@ -26,8 +26,6 @@
 #include "userprocess.h"
 #include "xline.h"
 
-extern time_t TIME;
-
 std::vector<std::string> old_module_names, new_module_names, added_modules, removed_modules;
 
 ServerConfig::ServerConfig(InspIRCd* Instance) : ServerInstance(Instance)
@@ -1426,4 +1424,8 @@ std::string ServerConfig::GetFullProgDir(char** argv, int argc)
        return otherdir;
 }
 
+InspIRCd* ServerConfig::GetInstance()
+{
+       return ServerInstance;
+}