summaryrefslogtreecommitdiff
path: root/src/commands/cmd_hostname_lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_hostname_lookup.cpp')
-rw-r--r--src/commands/cmd_hostname_lookup.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/commands/cmd_hostname_lookup.cpp b/src/commands/cmd_hostname_lookup.cpp
index 71a32e610..1352f0e78 100644
--- a/src/commands/cmd_hostname_lookup.cpp
+++ b/src/commands/cmd_hostname_lookup.cpp
@@ -193,12 +193,8 @@ class ModuleHostnameLookup : public Module
void init()
{
- OnRehash(NULL);
ServerInstance->Modules->AddService(this->dnsLookup);
ServerInstance->Modules->AddService(this->ptrHosts);
-
- Implementation i[] = { I_OnUserInit, I_OnCheckReady };
- ServerInstance->Modules->Attach(i, this, sizeof(i) / sizeof(Implementation));
}
void OnUserInit(LocalUser *user)