X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_exemptchanops.cpp;h=57057c4117e4966c42cdd36517f7d9199c87760f;hb=c202dea024542b9c6c6b771bb9a3a081d9eacdc5;hp=a74658bcdd031bf423e39aff0e3ee4d857d4c93b;hpb=1031f333332cf1b09db4fd632f141143ee637c34;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp index a74658bcd..57057c411 100644 --- a/src/modules/m_exemptchanops.cpp +++ b/src/modules/m_exemptchanops.cpp @@ -117,8 +117,6 @@ class ModuleExemptChanOps : public Module { ServerInstance->Modules->AddService(eh.ec); ServerInstance->OnCheckExemption = &eh; - - OnRehash(NULL); } ~ModuleExemptChanOps() @@ -131,7 +129,7 @@ class ModuleExemptChanOps : public Module return Version("Provides the ability to allow channel operators to be exempt from certain modes.",VF_VENDOR); } - void OnRehash(User* user) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { eh.ec.DoRehash(); }