summaryrefslogtreecommitdiff
path: root/src/modules/m_httpd_acl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_httpd_acl.cpp')
-rw-r--r--src/modules/m_httpd_acl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_httpd_acl.cpp b/src/modules/m_httpd_acl.cpp
index 812ea843f..8c682cfa9 100644
--- a/src/modules/m_httpd_acl.cpp
+++ b/src/modules/m_httpd_acl.cpp
@@ -47,7 +47,7 @@ class ModuleHTTPAccessList : public Module
void ReadConfig()
{
acl_list.clear();
- ConfigReader c(ServerInstance);
+ ConfigReader c;
int n_items = c.Enumerate("httpdacl");
for (int i = 0; i < n_items; ++i)
{
@@ -88,8 +88,7 @@ class ModuleHTTPAccessList : public Module
}
}
- ModuleHTTPAccessList(InspIRCd* Me) : Module(Me)
- {
+ ModuleHTTPAccessList() {
ReadConfig();
Implementation eventlist[] = { I_OnEvent, I_OnRequest };
ServerInstance->Modules->Attach(eventlist, this, 2);