summaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
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);