diff options
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r-- | src/modules/m_inviteexception.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index 700df27fb..2424808f6 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -54,8 +54,6 @@ public: void init() CXX11_OVERRIDE { ServerInstance->Modules->AddService(ie); - - OnRehash(NULL); ie.DoImplements(this); } @@ -93,7 +91,7 @@ public: ie.DoSyncChannel(chan, proto, opaque); } - void OnRehash(User* user) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { invite_bypass_key = ServerInstance->Config->ConfValue("inviteexception")->getBool("bypasskey", true); ie.DoRehash(); |