diff options
Diffstat (limited to 'src/modules/m_operlog.cpp')
-rw-r--r-- | src/modules/m_operlog.cpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index e617c47e0..295bc2b58 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -72,29 +72,4 @@ class ModuleOperLog : public Module }; - -/******************************************************************************************************/ - -class ModuleOperLogFactory : public ModuleFactory -{ - public: - ModuleOperLogFactory() - { - } - - ~ModuleOperLogFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleOperLog(Me); - } - -}; - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleOperLogFactory; -} - +MODULE_INIT(ModuleOperLog); |