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_delayjoin.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/modules/m_delayjoin.cpp') diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index 444cbbc39..70c6b8717 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -44,11 +44,6 @@ class ModuleDelayJoin : public Module { } - void init() CXX11_OVERRIDE - { - ServerInstance->Modules->AddService(djm); - ServerInstance->Modules->AddService(unjoined); - } Version GetVersion() CXX11_OVERRIDE; void OnNamesListItem(User* issuer, Membership*, std::string &prefixes, std::string &nick) CXX11_OVERRIDE; void OnUserJoin(Membership*, bool, bool, CUList&) CXX11_OVERRIDE; -- cgit v1.2.3