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