summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp4
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