diff options
Diffstat (limited to 'src/modules/m_hideoper.cpp')
-rw-r--r-- | src/modules/m_hideoper.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp index cf9e9b062..dc7495cd5 100644 --- a/src/modules/m_hideoper.cpp +++ b/src/modules/m_hideoper.cpp @@ -90,26 +90,5 @@ class ModuleHideOper : public Module } }; -class ModuleHideOperFactory : public ModuleFactory -{ - public: - ModuleHideOperFactory() - { - } - - ~ModuleHideOperFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleHideOper(Me); - } - -}; - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleHideOperFactory; -} +MODULE_INIT(ModuleHideOper); |