diff options
| author | 2013-04-22 05:21:38 +0200 | |
|---|---|---|
| committer | 2013-04-26 16:59:29 -0500 | |
| commit | 8428bbb387d4b1195156f0ab5a676d17b69b8d5f (patch) | |
| tree | 6a4391bc908dfc8bbf3f7879cbb464a36204520f /src/inspircd.cpp | |
| parent | m_spanningtree Move CacheTimer into utils (diff) | |
Modularize DNS
The DNS modules are temporarily in commands/ so they're loaded automatically
Thanks to Attila for helping with much of this.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 6 |
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); |
