summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-02-11 17:15:57 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-02-11 17:15:57 +0100
commit3b83968416bcc5710c394892bb2ac1cc79f0298a (patch)
tree2f50b10320ce670b81af61ddd5188c619865272e /src/modules
parent1e8e379dce7a3311eff7161269593f1655f577eb (diff)
Remove unused parameters from HTTPRequest constructor
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_httpd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index 3558b0a2b..47416406e 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -326,11 +326,11 @@ class HttpServerSocket : public BufferedSocket, public Timer, public insp::intru
claimed = false;
ModResult MOD_RESULT;
- HTTPRequest acl((Module*)HttpModule, "httpd_acl", request_type, uri, &headers, this, ip, postdata);
+ HTTPRequest acl(request_type, uri, &headers, this, ip, postdata);
FIRST_MOD_RESULT_CUSTOM(*aclevprov, HTTPACLEventListener, OnHTTPACLCheck, MOD_RESULT, (acl));
if (MOD_RESULT != MOD_RES_DENY)
{
- HTTPRequest url((Module*)HttpModule, "httpd_url", request_type, uri, &headers, this, ip, postdata);
+ HTTPRequest url(request_type, uri, &headers, this, ip, postdata);
FIRST_MOD_RESULT_CUSTOM(*reqevprov, HTTPRequestEventListener, OnHTTPRequest, MOD_RESULT, (url));
if (MOD_RESULT == MOD_RES_PASSTHRU)
{