X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_deaf.cpp;h=3fdd2533eae9c2da8077b10b6fd5c7931aa1759b;hb=c202dea024542b9c6c6b771bb9a3a081d9eacdc5;hp=2e07aea4140cbc3fbdb9fdfca883702b24eec833;hpb=d24619c012b34d5a3d4cfb93e7bea3ff3d5721e7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp index 2e07aea41..3fdd2533e 100644 --- a/src/modules/m_deaf.cpp +++ b/src/modules/m_deaf.cpp @@ -56,11 +56,9 @@ class ModuleDeaf : public Module void init() CXX11_OVERRIDE { ServerInstance->Modules->AddService(m1); - - OnRehash(NULL); } - void OnRehash(User* user) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { ConfigTag* tag = ServerInstance->Config->ConfValue("deaf"); deaf_bypasschars = tag->getString("bypasschars");