diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-11 20:35:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-11 20:35:54 +0000 |
commit | 8f0f9654f841f8034be4c071660a378a91434782 (patch) | |
tree | 178ed3294bfd1005504c72c46baaa64009583bbb /src/inspircd.cpp | |
parent | ed94fb6c55eb67919babc51b31c9ef617aeb2157 (diff) |
This fixed. Initialise dns at the end of pass 1 before loading first set of modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8582 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 12a9bf756..1aa7c45a5 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -315,6 +315,7 @@ InspIRCd::InspIRCd(int argc, char** argv) this->uuidlist = new user_hash(); this->chanlist = new chan_hash(); + this->Res = NULL; this->Config = new ServerConfig(this); this->SNO = new SnomaskManager(this); @@ -398,7 +399,6 @@ InspIRCd::InspIRCd(int argc, char** argv) // Set up winsock WSADATA wsadata; WSAStartup(MAKEWORD(2,0), &wsadata); - ChangeWindowsSpecificPointers(this); #endif strlcpy(Config->MyExecutable,argv[0],MAXBUF); @@ -465,8 +465,6 @@ InspIRCd::InspIRCd(int argc, char** argv) SE->RecoverFromFork(); - this->Res = new DNS(this); - /* Read config, pass 0. At the end if this pass, * the Config->IncludeFiles is populated, we call * Config->StartDownloads to initialize the downlaods of all |