From 1f84cda28693d687120624573eac6e7bf02013ce Mon Sep 17 00:00:00 2001 From: psychon Date: Tue, 6 Nov 2007 20:13:15 +0000 Subject: [PATCH] Webadmin sent 'Server: ZNC ZNC 0.051', remove one 'ZNC' git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@864 726aef4b-f618-498e-8847-2d620e286838 --- HTTPSock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTTPSock.cpp b/HTTPSock.cpp index 75f47a3b..dd7220a8 100644 --- a/HTTPSock.cpp +++ b/HTTPSock.cpp @@ -331,7 +331,7 @@ bool CHTTPSock::PrintHeader(unsigned long uContentLength, const CString& sConten Write("HTTP/1.0 " + CString(uStatusId) + " " + sStatusMsg + "\r\n"); //Write("Date: Tue, 28 Jun 2005 20:45:36 GMT\r\n"); - Write("Server: ZNC " + CZNC::GetTag() + "\r\n"); + Write("Server: " + CZNC::GetTag() + "\r\n"); Write("Content-Length: " + CString(uContentLength) + "\r\n"); Write("Connection: Close\r\n"); Write("Content-Type: " + m_sContentType + "\r\n");