X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fm_deaf.cpp;h=3fdd2533eae9c2da8077b10b6fd5c7931aa1759b;hb=c202dea024542b9c6c6b771bb9a3a081d9eacdc5;hp=2e07aea4140cbc3fbdb9fdfca883702b24eec833;hpb=1031f333332cf1b09db4fd632f141143ee637c34;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");