diff options
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r-- | src/modules/m_chghost.cpp | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 727495932..c5e114575 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -111,28 +111,4 @@ class ModuleChgHost : public Module }; - -class ModuleChgHostFactory : public ModuleFactory -{ - public: - ModuleChgHostFactory() - { - } - - ~ModuleChgHostFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleChgHost(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleChgHostFactory; -} - +MODULE_INIT(ModuleChgHost); |