summaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:13:38 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:13:38 +0000
commitbfdf503e5204ba17479084e688a3605dbc9007a2 (patch)
tree17add23cbf6d9f29d21d5ab6cd1727e98af821f9 /src/modules/m_banexception.cpp
parent61db2bd6670445b282472b526b9b247921e63d1d (diff)
Convert more modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7347 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r--src/modules/m_banexception.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 5dd406e54..9cb5d0662 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -150,26 +150,4 @@ public:
}
};
-class ModuleBanExceptionFactory : public ModuleFactory
-{
- public:
- ModuleBanExceptionFactory()
- {
- }
-
- ~ModuleBanExceptionFactory()
- {
- }
-
- virtual Module* CreateModule(InspIRCd* Me)
- {
- return new ModuleBanException(Me);
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleBanExceptionFactory;
-}
-
+MODULE_INIT(ModuleBanException);