summaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r--src/modules/m_cgiirc.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 3ab2f50be..58c48a276 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -496,26 +496,4 @@ public:
};
-class ModuleCgiIRCFactory : public ModuleFactory
-{
- public:
- ModuleCgiIRCFactory()
- {
- }
-
- ~ModuleCgiIRCFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleCgiIRC(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleCgiIRCFactory;
-}
+MODULE_INIT(ModuleCgiIRC);