]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operjoin.cpp
m_spanningtree Move all server-to-server command handlers into handler classes
[user/henk/code/inspircd.git] / src / modules / m_operjoin.cpp
index e890c3afb709ad36d627165a6d35c8ee0aa19e09..80bb73ad4989f785cf411c7d9f70240726a76a0a 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "inspircd.h"
 
-/* $ModDesc: Forces opers to join the specified channel(s) on oper-up */
-
 class ModuleOperjoin : public Module
 {
                std::string operChan;
@@ -55,8 +53,6 @@ class ModuleOperjoin : public Module
                void init() CXX11_OVERRIDE
                {
                        OnRehash(NULL);
-                       Implementation eventlist[] = { I_OnPostOper, I_OnRehash };
-                       ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
                }