From dcd34d37287adb6aa03d32edd17fc8015b52feb8 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 15 Dec 2012 01:33:31 -0500 Subject: Move DNS handling to a module --- src/module.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/module.cpp') 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 @@ -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 */ -- cgit