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_dccallow.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/modules/m_dccallow.cpp') 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("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 -- cgit v1.2.3