1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 11:36:37 +02:00

Move DNS handling to a module

This commit is contained in:
Adam
2012-12-15 01:33:31 -05:00
parent cdec0a3f96
commit dcd34d3728
17 changed files with 1314 additions and 1368 deletions
+1 -3
View File
@@ -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 */