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