diff options
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r-- | src/modules/m_opermotd.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp index 294ea4c2b..da4361ca3 100644 --- a/src/modules/m_opermotd.cpp +++ b/src/modules/m_opermotd.cpp @@ -113,24 +113,4 @@ class ModuleOpermotd : public Module } }; -class ModuleOpermotdFactory : public ModuleFactory -{ - public: - ModuleOpermotdFactory() - { - } - - ~ModuleOpermotdFactory() - { - } - - virtual Module* CreateModule(InspIRCd* Me) - { - return new ModuleOpermotd(Me); - } -}; - -extern "C" DllExport void* init_module(void) -{ - return new ModuleOpermotdFactory; -} +MODULE_INIT(ModuleOpermotd); |