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