mirror of
https://github.com/znc/znc.git
synced 2026-05-05 21:12:37 +02:00
Use a better error message for browsers connecting to IRC only listener ports.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1971 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -100,7 +100,7 @@ void CIncomingConnection::ReadLine(const CString& sLine) {
|
||||
// This is a HTTP request, let the webmods handle it
|
||||
|
||||
if (!bAcceptHTTP) {
|
||||
Write("HTTP/1.0 403 Access Denied\r\n\r\nNo HTTP requests allowed\r\n");
|
||||
Write("HTTP/1.0 403 Access Denied\r\n\r\nWeb Access is not enabled.\r\n");
|
||||
Close(CLT_AFTERWRITE);
|
||||
|
||||
DEBUG("Refused HTTP connection to non HTTP port");
|
||||
|
||||
Reference in New Issue
Block a user