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_services_account.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/modules/m_services_account.cpp') diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index 4f2125a97..2726f835c 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -116,12 +116,6 @@ class ModuleServicesAccount : public Module { } - void init() CXX11_OVERRIDE - { - ServiceProvider* providerlist[] = { &m1, &m2, &m3, &m4, &m5, &accountname }; - ServerInstance->Modules->AddServices(providerlist, sizeof(providerlist)/sizeof(ServiceProvider*)); - } - void On005Numeric(std::map& tokens) CXX11_OVERRIDE { tokens["EXTBAN"].push_back('R'); -- cgit v1.2.3