summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index aa9bfb65c..7b3d36e1c 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -132,8 +132,6 @@ void InspIRCd::Cleanup()
/* Must be deleted before modes as it decrements modelines */
if (FakeClient)
FakeClient->cull();
- if (Res)
- Res->cull();
DeleteZero(this->FakeClient);
DeleteZero(this->Users);
DeleteZero(this->Modes);
@@ -144,7 +142,6 @@ void InspIRCd::Cleanup()
DeleteZero(this->BanCache);
DeleteZero(this->SNO);
DeleteZero(this->Config);
- DeleteZero(this->Res);
DeleteZero(this->chanlist);
DeleteZero(this->PI);
DeleteZero(this->Threads);
@@ -309,7 +306,6 @@ InspIRCd::InspIRCd(int argc, char** argv) :
this->Parser = 0;
this->XLines = 0;
this->Modes = 0;
- this->Res = 0;
this->ConfigThread = NULL;
this->FakeClient = NULL;
@@ -512,8 +508,6 @@ InspIRCd::InspIRCd(int argc, char** argv) :
Logs->OpenFileLogs();
ModeParser::InitBuiltinModes();
- this->Res = new DNS();
-
// If we don't have a SID, generate one based on the server name and the server description
if (Config->sid.empty())
Config->sid = UIDGenerator::GenerateSID(Config->ServerName, Config->ServerDesc);