summaryrefslogtreecommitdiff
path: root/src/modules/m_auditorium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_auditorium.cpp')
-rw-r--r--src/modules/m_auditorium.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index 8d73f94f0..20168aff5 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -188,26 +188,4 @@ class ModuleAuditorium : public Module
}
};
-class ModuleAuditoriumFactory : public ModuleFactory
-{
- public:
- ModuleAuditoriumFactory()
- {
- }
-
- ~ModuleAuditoriumFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleAuditorium(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleAuditoriumFactory;
-}
-
+MODULE_INIT(ModuleAuditorium);