summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_httpclienttest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_httpclienttest.cpp')
-rw-r--r--src/modules/extra/m_httpclienttest.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/extra/m_httpclienttest.cpp b/src/modules/extra/m_httpclienttest.cpp
index 5ec097aaf..90e7a5159 100644
--- a/src/modules/extra/m_httpclienttest.cpp
+++ b/src/modules/extra/m_httpclienttest.cpp
@@ -77,26 +77,5 @@ public:
};
-class MyModuleFactory : public ModuleFactory
-{
-public:
- MyModuleFactory()
- {
- }
-
- ~MyModuleFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new MyModule(Me);
- }
-
-};
-
-extern "C" void * init_module( void )
-{
- return new MyModuleFactory;
-}
+MODULE_INIT(MyModule);