summaryrefslogtreecommitdiff
path: root/src/modules/m_joinflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r--src/modules/m_joinflood.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index b5cf0c02c..7ae7cff66 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -282,28 +282,4 @@ class ModuleJoinFlood : public Module
}
};
-
-class ModuleJoinFloodFactory : public ModuleFactory
-{
- public:
- ModuleJoinFloodFactory()
- {
- }
-
- ~ModuleJoinFloodFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleJoinFlood(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleJoinFloodFactory;
-}
-
+MODULE_INIT(ModuleJoinFlood);