aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-05-26 19:44:13 +0200
committerGravatar attilamolnar2013-09-08 17:11:08 +0200
commit992674362c5f64bdb8e1942eeaa7612524529cd6 (patch)
tree8f29b37db626e0b81002cac48d0561ef998ec2f1 /src/modules/m_dccallow.cpp
parentDeduplicate code in modmanager_static and modmanager_dynamic (diff)
downloadinspircd++-992674362c5f64bdb8e1942eeaa7612524529cd6.tar.gz
inspircd++-992674362c5f64bdb8e1942eeaa7612524529cd6.tar.bz2
inspircd++-992674362c5f64bdb8e1942eeaa7612524529cd6.zip
Automatically register ServiceProviders created by modules
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index 169ba7203..c6cb09645 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -257,7 +257,6 @@ class ModuleDCCAllow : public Module
{
ext = new SimpleExtItem<dccallowlist>("dccallow", this);
ServerInstance->Modules->AddService(*ext);
- ServerInstance->Modules->AddService(cmd);
}
void OnUserQuit(User* user, const std::string &reason, const std::string &oper_message) CXX11_OVERRIDE