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