summaryrefslogtreecommitdiff
path: root/src/modules/m_connflood.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:24:13 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:24:13 +0000
commitd7e5dfd5b9b98fc673fb0fbf7ca2fc5b7e618714 (patch)
tree7229009968b99ad85751cc671481e4fff3f56d14 /src/modules/m_connflood.cpp
parentd99c2c1ea74383a66b36582ccd364802c7223833 (diff)
More conversion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7351 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_connflood.cpp')
-rw-r--r--src/modules/m_connflood.cpp24
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);