summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:31:40 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:31:40 +0000
commit5ab6dbb65ea86edca348ca5b679308e0a9924c97 (patch)
treec12008b46b8acf2b7715eb1adb585c3f3f93514f /src/modules/m_httpd.cpp
parent5b3c052062f0976242b36c82cfeae2ed3b23c6b2 (diff)
Conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7354 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r--src/modules/m_httpd.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index ed02c0a5c..f687c1cf4 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -417,27 +417,4 @@ class ModuleHttpServer : public Module
}
};
-
-class ModuleHttpServerFactory : public ModuleFactory
-{
- public:
- ModuleHttpServerFactory()
- {
- }
-
- ~ModuleHttpServerFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- HttpModule = new ModuleHttpServer(Me);
- return HttpModule;
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleHttpServerFactory;
-}
+MODULE_INIT(ModuleHttpServer);