From 79afe22b3defcfb18cbdb1d6370b9efb17a50111 Mon Sep 17 00:00:00 2001 From: fredbcode Date: Thu, 14 Feb 2019 09:37:59 +0100 Subject: [PATCH] Fix duplicate copy/paste --- src/ConnectionHandler.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ConnectionHandler.cpp b/src/ConnectionHandler.cpp index 8b9a4f465..3f7973af1 100644 --- a/src/ConnectionHandler.cpp +++ b/src/ConnectionHandler.cpp @@ -1886,7 +1886,6 @@ bool ConnectionHandler::genDenyAccess(Socket &peerconn, String &eheader, String eheader += std::to_string(hbody.size()); ebody = hbody; eheader += "\r\n"; - } else { // we're dealing with a non-SSL'ed request, and have the option of using the custom banned image/page directly } else { eheader = "HTTP/1.1 302 Redirect\r\n";