X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_password_hash.cpp;h=0e3afb9661c48ba8ff3edcda44aae3776d3b1e32;hb=7acb4ced207da7308d471a4ca434ce1cc7b9e9cb;hp=6c4145c4edd3bcd02c4255fe5fb4c25cb2a6bfd7;hpb=4b41feea830fc84e8c1b2fd0982f3e8d8840af96;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_password_hash.cpp b/src/modules/m_password_hash.cpp index 6c4145c4e..0e3afb966 100644 --- a/src/modules/m_password_hash.cpp +++ b/src/modules/m_password_hash.cpp @@ -18,8 +18,6 @@ */ -/* $ModDesc: Allows for hashed oper passwords */ - #include "inspircd.h" #include "modules/hash.h" @@ -82,16 +80,6 @@ class ModuleOperHash : public Module { } - void init() CXX11_OVERRIDE - { - /* Read the config file first */ - OnRehash(NULL); - - ServerInstance->Modules->AddService(cmd); - Implementation eventlist[] = { I_OnPassCompare }; - ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); - } - ModResult OnPassCompare(Extensible* ex, const std::string &data, const std::string &input, const std::string &hashtype) CXX11_OVERRIDE { if (hashtype.substr(0,5) == "hmac-")