X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_operjoin.cpp;h=80bb73ad4989f785cf411c7d9f70240726a76a0a;hb=b14ebbccf08ec34a73e1ba271e67da80d9fe805c;hp=e890c3afb709ad36d627165a6d35c8ee0aa19e09;hpb=d9d99cd02dadf34bfcc220734ba0c422f0acb3e6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp index e890c3afb..80bb73ad4 100644 --- a/src/modules/m_operjoin.cpp +++ b/src/modules/m_operjoin.cpp @@ -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)); }