summaryrefslogtreecommitdiff
path: root/src/modules/m_svshold.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_svshold.cpp')
-rw-r--r--src/modules/m_svshold.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp
index f53f0441c..a056c9d84 100644
--- a/src/modules/m_svshold.cpp
+++ b/src/modules/m_svshold.cpp
@@ -279,26 +279,4 @@ class ModuleSVSHold : public Module
}
};
-class ModuleSVSHoldFactory : public ModuleFactory
-{
- public:
- ModuleSVSHoldFactory()
- {
- }
-
- ~ModuleSVSHoldFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSVSHold(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSVSHoldFactory;
-}
+MODULE_INIT(ModuleSVSHold);