X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_operjoin.cpp;h=8a50411902579ee4d04c117bdfd8824cab26a6f8;hb=ad47ea662698e72ff8f79b03512b1e7fe81bdf53;hp=80bb73ad4989f785cf411c7d9f70240726a76a0a;hpb=d24619c012b34d5a3d4cfb93e7bea3ff3d5721e7;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");