diff options
| author | 2008-05-12 21:16:04 +0000 | |
|---|---|---|
| committer | 2008-05-12 21:16:04 +0000 | |
| commit | bc344671460c1675fbc31504fd1ffc03ff58a135 (patch) | |
| tree | 468765e7312540a68b7551d02d39d26411dbd5cf /src/modules/m_httpd_acl.cpp | |
| parent | Add HTTP auth (diff) | |
httpd connection close fixes (these need to be backported to 1.1 at some point?) and acl tweaks to make http auth work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9714 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd_acl.cpp')
| -rw-r--r-- | src/modules/m_httpd_acl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_httpd_acl.cpp b/src/modules/m_httpd_acl.cpp index 36eab758b..153cb501b 100644 --- a/src/modules/m_httpd_acl.cpp +++ b/src/modules/m_httpd_acl.cpp @@ -98,6 +98,8 @@ class ModuleHTTPAccessList : public Module void BlockAccess(HTTPRequest* http, Event* event, int returnval, const std::string &extraheaderkey = "", const std::string &extraheaderval="") { + ServerInstance->Logs->Log("m_httpd_acl", DEBUG, "BlockAccess (%d)", returnval); + std::stringstream data("Access to this resource is denied by an access control list. Please contact your IRC administrator."); HTTPDocument response(http->sock, &data, returnval); response.headers.SetHeader("X-Powered-By", "m_httpd_acl.so"); |
