summaryrefslogtreecommitdiff
path: root/src/modules/m_inviteexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r--src/modules/m_inviteexception.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp
index 11add8046..042d374bc 100644
--- a/src/modules/m_inviteexception.cpp
+++ b/src/modules/m_inviteexception.cpp
@@ -147,27 +147,4 @@ public:
}
};
-
-class ModuleInviteExceptionFactory : public ModuleFactory
-{
- public:
- ModuleInviteExceptionFactory()
- {
- }
-
- ~ModuleInviteExceptionFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleInviteException(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleInviteExceptionFactory;
-}
+MODULE_INIT(ModuleInviteException);