summaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:12:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:12:13 +0000
commitc366e5d2723e5283547639bef8c50ffdc53cca20 (patch)
tree56f50d8f531d68071927063430003e2ad03560b3 /src/modules/m_timedbans.cpp
parentb68f64cf6ae64f220fbb91d26c0fd2ffb8ee402a (diff)
More
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7345 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r--src/modules/m_timedbans.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp
index 2f57a966c..995bf2147 100644
--- a/src/modules/m_timedbans.cpp
+++ b/src/modules/m_timedbans.cpp
@@ -200,27 +200,5 @@ class ModuleTimedBans : public Module
}
};
+MODULE_INIT(ModuleTimedBans);
-class ModuleTimedBansFactory : public ModuleFactory
-{
- public:
- ModuleTimedBansFactory()
- {
- }
-
- ~ModuleTimedBansFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleTimedBans(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleTimedBansFactory;
-}