X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_exemptchanops.cpp;h=a74658bcdd031bf423e39aff0e3ee4d857d4c93b;hb=e950f568d0f571e9475aa38177486468714de4d3;hp=83a0f9d040484fc51fd703a5aa9b43602b0121cd;hpb=4b41feea830fc84e8c1b2fd0982f3e8d8840af96;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp index 83a0f9d04..a74658bcd 100644 --- a/src/modules/m_exemptchanops.cpp +++ b/src/modules/m_exemptchanops.cpp @@ -20,8 +20,6 @@ #include "inspircd.h" #include "listmode.h" -/* $ModDesc: Provides the ability to allow channel operators to be exempt from certain modes. */ - /** Handles channel mode +X */ class ExemptChanOps : public ListModeBase @@ -118,8 +116,6 @@ class ModuleExemptChanOps : public Module void init() CXX11_OVERRIDE { ServerInstance->Modules->AddService(eh.ec); - Implementation eventlist[] = { I_OnRehash, I_OnSyncChannel }; - ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); ServerInstance->OnCheckExemption = &eh; OnRehash(NULL);