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_topiclock.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/modules/m_topiclock.cpp') diff --git a/src/modules/m_topiclock.cpp b/src/modules/m_topiclock.cpp index 760283c95..2d539dcab 100644 --- a/src/modules/m_topiclock.cpp +++ b/src/modules/m_topiclock.cpp @@ -149,12 +149,6 @@ class ModuleTopicLock : public Module { } - void init() CXX11_OVERRIDE - { - ServerInstance->Modules->AddService(cmd); - ServerInstance->Modules->AddService(topiclock); - } - ModResult OnPreTopicChange(User* user, Channel* chan, const std::string &topic) CXX11_OVERRIDE { // Only fired for local users currently, but added a check anyway -- cgit v1.2.3