#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
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);