]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_restrictchans.cpp
m_spanningtree Remove duplicate code for sending channel messages from RouteCommand()
[user/henk/code/inspircd.git] / src / modules / m_restrictchans.cpp
index 9de6b1a0c6a38b02b2f89d31c8536db27d95e65a..21686add399b16572260cc9647dfa7a6344d1aae 100644 (file)
@@ -42,8 +42,6 @@ class ModuleRestrictChans : public Module
        void init() CXX11_OVERRIDE
        {
                ReadConfig();
-               Implementation eventlist[] = { I_OnUserPreJoin, I_OnRehash };
-               ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
        }
 
        void OnRehash(User* user) CXX11_OVERRIDE