summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r--src/modules/m_httpd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index fb9ea954c..ae3611024 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -285,9 +285,9 @@ class ModuleHttp : public Module
}
}
- ModuleHttp(Server* Me) : Module::Module(Me)
+ ModuleHttp(InspIRCd* Me) : Module::Module(Me)
{
- Srv = Me;
+
ReadConfig();
CreateListener();
}
@@ -334,7 +334,7 @@ class ModuleHttpFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
HttpModule = new ModuleHttp(Me);
return HttpModule;