mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
@@ -163,7 +163,7 @@ void CHTTPSock::ReadLine(const CString& sData) {
|
||||
// check if sIP is trusted proxy
|
||||
bool bTrusted = false;
|
||||
for (const CString& sTrustedProxy : vsTrustedProxies) {
|
||||
if (sIP.WildCmp(sTrustedProxy)) {
|
||||
if (CUtils::CheckCIDR(sIP, sTrustedProxy)) {
|
||||
bTrusted = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user