X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_operjoin.cpp;h=8a50411902579ee4d04c117bdfd8824cab26a6f8;hb=adb5ab48a2b6efd146b9cc85a62b45c6a70aa34d;hp=80bb73ad4989f785cf411c7d9f70240726a76a0a;hpb=1031f333332cf1b09db4fd632f141143ee637c34;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp index 80bb73ad4..8a5041190 100644 --- a/src/modules/m_operjoin.cpp +++ b/src/modules/m_operjoin.cpp @@ -50,13 +50,7 @@ class ModuleOperjoin : public Module } public: - void init() CXX11_OVERRIDE - { - OnRehash(NULL); - } - - - void OnRehash(User* user) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { ConfigTag* tag = ServerInstance->Config->ConfValue("operjoin");