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