summaryrefslogtreecommitdiff
path: root/src/modules/m_md5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_md5.cpp')
-rw-r--r--src/modules/m_md5.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp
index ada92df81..fe3f43829 100644
--- a/src/modules/m_md5.cpp
+++ b/src/modules/m_md5.cpp
@@ -319,27 +319,4 @@ class ModuleMD5 : public Module
}
};
-
-class ModuleMD5Factory : public ModuleFactory
-{
- public:
- ModuleMD5Factory()
- {
- }
-
- ~ModuleMD5Factory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleMD5(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleMD5Factory;
-}
+MODULE_INIT(ModuleMD5);