diff options
author | Adam <Adam@anope.org> | 2012-12-15 01:33:31 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-12-15 01:33:31 -0500 |
commit | dcd34d37287adb6aa03d32edd17fc8015b52feb8 (patch) | |
tree | 4eb963bc60c8db543973456e7fce35aaae5a4ad4 /src/module.cpp | |
parent | cdec0a3f96bbfa6d5300b7a6d602fd170e7ccd56 (diff) |
Move DNS handling to a module
Diffstat (limited to 'src/module.cpp')
-rw-r--r-- | src/module.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/module.cpp b/src/module.cpp index e9c130076..396aa74e2 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -9,8 +9,8 @@ #include "services.h" #include "modules.h" -#include "dns.h" #include "language.h" +#include "account.h" #ifdef GETTEXT_FOUND # include <libintl.h> @@ -46,8 +46,6 @@ Module::Module(const Anope::string &modname, const Anope::string &, ModType modt Module::~Module() { - if (DNS::Engine) - DNS::Engine->Cleanup(this); /* Detach all event hooks for this module */ ModuleManager::DetachAll(this); /* Clear any active callbacks this module has */ |