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