From 992674362c5f64bdb8e1942eeaa7612524529cd6 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sun, 26 May 2013 19:44:13 +0200 Subject: Automatically register ServiceProviders created by modules --- src/commands/cmd_hostname_lookup.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/commands/cmd_hostname_lookup.cpp') diff --git a/src/commands/cmd_hostname_lookup.cpp b/src/commands/cmd_hostname_lookup.cpp index f352443d0..3287f3662 100644 --- a/src/commands/cmd_hostname_lookup.cpp +++ b/src/commands/cmd_hostname_lookup.cpp @@ -191,12 +191,6 @@ class ModuleHostnameLookup : public Module ph = &ptrHosts; } - void init() - { - ServerInstance->Modules->AddService(this->dnsLookup); - ServerInstance->Modules->AddService(this->ptrHosts); - } - void OnUserInit(LocalUser *user) { if (!DNS || !user->MyClass->resolvehostnames) -- cgit v1.2.3