From bc344671460c1675fbc31504fd1ffc03ff58a135 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 May 2008 21:16:04 +0000 Subject: 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 --- src/modules/m_httpd_acl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/modules/m_httpd_acl.cpp') 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"); -- cgit v1.3.1-10-gc9f91