X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_topiclock.cpp;h=2d539dcabd0e8679d94eb17ea83debc479082ef6;hb=357d190074ee58809b31ea0c08543566168bddf6;hp=760283c952eefb9b3ea49d40a5ccc5f10dffc81d;hpb=d24619c012b34d5a3d4cfb93e7bea3ff3d5721e7;p=user%2Fhenk%2Fcode%2Finspircd.git 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