diff options
Diffstat (limited to 'src/modules/m_chancreate.cpp')
-rw-r--r-- | src/modules/m_chancreate.cpp | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp index ee42a15bf..5c43b3bf1 100644 --- a/src/modules/m_chancreate.cpp +++ b/src/modules/m_chancreate.cpp @@ -52,26 +52,4 @@ class ModuleChanCreate : public Module } }; -class ModuleChanCreateFactory : public ModuleFactory -{ - public: - ModuleChanCreateFactory() - { - } - - ~ModuleChanCreateFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleChanCreate(Me); - } - -}; - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleChanCreateFactory; -} - +MODULE_INIT(ModuleChanCreate); |