summaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-05-26 19:44:13 +0200
committerattilamolnar <attilamolnar@hush.com>2013-09-08 17:11:08 +0200
commit992674362c5f64bdb8e1942eeaa7612524529cd6 (patch)
tree8f29b37db626e0b81002cac48d0561ef998ec2f1 /src/modules/m_sasl.cpp
parent8a64bd3a0ac72855b681b00f3a9a08cebee755ce (diff)
Automatically register ServiceProviders created by modules
Diffstat (limited to 'src/modules/m_sasl.cpp')
-rw-r--r--src/modules/m_sasl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp
index 1ef1fa073..6c9ba14e6 100644
--- a/src/modules/m_sasl.cpp
+++ b/src/modules/m_sasl.cpp
@@ -256,9 +256,6 @@ class ModuleSASL : public Module
void init() CXX11_OVERRIDE
{
- ServiceProvider* providelist[] = { &auth, &sasl, &authExt };
- ServerInstance->Modules->AddServices(providelist, 3);
-
if (!ServerInstance->Modules->Find("m_services_account.so") || !ServerInstance->Modules->Find("m_cap.so"))
ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "WARNING: m_services_account.so and m_cap.so are not loaded! m_sasl.so will NOT function correctly until these two modules are loaded!");
}