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