diff options
| author | 2015-02-11 17:15:57 +0100 | |
|---|---|---|
| committer | 2015-02-11 17:15:57 +0100 | |
| commit | 3b83968416bcc5710c394892bb2ac1cc79f0298a (patch) | |
| tree | 2f50b10320ce670b81af61ddd5188c619865272e /src/modules/m_httpd.cpp | |
| parent | Convert the HTTPd request event to use the new cross-module event system (diff) | |
| download | inspircd++-3b83968416bcc5710c394892bb2ac1cc79f0298a.tar.gz inspircd++-3b83968416bcc5710c394892bb2ac1cc79f0298a.tar.bz2 inspircd++-3b83968416bcc5710c394892bb2ac1cc79f0298a.zip | |
Remove unused parameters from HTTPRequest constructor
Diffstat (limited to 'src/modules/m_httpd.cpp')
| -rw-r--r-- | src/modules/m_httpd.cpp | 4 |
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) { |
