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/modules/m_sethost.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/modules/m_sethost.cpp') diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 80953ee6f..ee0fc01e4 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -74,11 +74,6 @@ class ModuleSetHost : public Module { } - void init() CXX11_OVERRIDE - { - ServerInstance->Modules->AddService(cmd); - } - void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { std::string hmap = ServerInstance->Config->ConfValue("hostname")->getString("charmap", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.-_/0123456789"); -- cgit v1.3.1-10-gc9f91