diff options
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r-- | src/modules/m_blockcaps.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp index 2f5807c53..c07575d32 100644 --- a/src/modules/m_blockcaps.cpp +++ b/src/modules/m_blockcaps.cpp @@ -140,27 +140,4 @@ public: } }; - -class ModuleBlockCAPSFactory : public ModuleFactory -{ - public: - ModuleBlockCAPSFactory() - { - } - - ~ModuleBlockCAPSFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleBlockCAPS(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleBlockCAPSFactory; -} +MODULE_INIT(ModuleBlockCAPS); |