/* $ModDesc: Allows for SHA-256 encrypted oper passwords */
/* $ModDep: m_hash.h */
-#include "inspircd_config.h"
+#include "inspircd.h"
#ifdef HAS_STDINT
#include <stdint.h>
#endif
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
-#include "inspircd.h"
-
#include "m_hash.h"
#ifndef HAS_STDINT
}
};
+MODULE_INIT(ModuleSHA256)
-class ModuleSHA256Factory : public ModuleFactory
-{
-public:
- ModuleSHA256Factory()
- {
- }
-
- ~ModuleSHA256Factory()
- {
- }
-
- virtual Module *CreateModule(InspIRCd* Me)
- {
- return new ModuleSHA256(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSHA256Factory;
-}