From 53aeceb6bcad67f97fd9b47723c6e64b65126d72 Mon Sep 17 00:00:00 2001 From: cflakes Date: Sun, 9 May 2010 17:51:06 +0000 Subject: [PATCH] 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 --- Listener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Listener.cpp b/Listener.cpp index 8fc39fb4..826ae5d7 100644 --- a/Listener.cpp +++ b/Listener.cpp @@ -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");