From 8428bbb387d4b1195156f0ab5a676d17b69b8d5f Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 22 Apr 2013 05:21:38 +0200 Subject: Modularize DNS The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this. --- src/inspircd.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/inspircd.cpp') 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); -- cgit v1.3.1-10-gc9f91