diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-26 19:44:13 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-09-08 17:11:08 +0200 |
commit | 992674362c5f64bdb8e1942eeaa7612524529cd6 (patch) | |
tree | 8f29b37db626e0b81002cac48d0561ef998ec2f1 /src/commands/cmd_hostname_lookup.cpp | |
parent | 8a64bd3a0ac72855b681b00f3a9a08cebee755ce (diff) |
Automatically register ServiceProviders created by modules
Diffstat (limited to 'src/commands/cmd_hostname_lookup.cpp')
-rw-r--r-- | src/commands/cmd_hostname_lookup.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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) |