X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_oper_hash.cpp;h=b4661741b52b9ce4e44341c62324be6aa78cae94;hb=fed58f5c25915d60d40c0f407914ff7381902f9d;hp=80869898cc0445fcc60efeb905ae90ab025c95aa;hpb=9cf56d917d92959701694477f7944d45ad2c38ed;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp index 80869898c..b4661741b 100644 --- a/src/modules/m_oper_hash.cpp +++ b/src/modules/m_oper_hash.cpp @@ -14,12 +14,10 @@ /* $ModDesc: Allows for hashed oper passwords */ /* $ModDep: m_hash.h */ -#include "inspircd_config.h" +#include "inspircd.h" #include "users.h" #include "channels.h" #include "modules.h" -#include "inspircd.h" - #include "m_hash.h" typedef std::map hashymodules; @@ -162,27 +160,4 @@ class ModuleOperHash : public Module } }; - -class ModuleOperHashFactory : public ModuleFactory -{ - public: - ModuleOperHashFactory() - { - } - - ~ModuleOperHashFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleOperHash(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleOperHashFactory; -} +MODULE_INIT(ModuleOperHash)