summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_operlevels.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 40e882625..4c4047caa 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -94,26 +94,5 @@ class ModuleOperLevels : public Module
};
-class ModuleOperLevelsFactory : public ModuleFactory
-{
- public:
- ModuleOperLevelsFactory()
- {
- }
-
- ~ModuleOperLevelsFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleOperLevels(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleOperLevelsFactory;
-}
+MODULE_INIT(ModuleOperLevels)