summaryrefslogtreecommitdiff
path: root/src/modules/m_oper_hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_oper_hash.cpp')
-rw-r--r--src/modules/m_oper_hash.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp
index a3f6e5210..f7f0ab65b 100644
--- a/src/modules/m_oper_hash.cpp
+++ b/src/modules/m_oper_hash.cpp
@@ -160,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);