Backport of CF Clearance reuse fix

Readding this fix to leaf.xnet cf bypass:
https://github.com/openbullet/openbullet/commit/fce32f685ce81bbca027984615d2b41d6a84b853#diff-d9125531b761ec8678f86b718b47c428
This commit is contained in:
meinname
2019-10-13 15:57:20 +02:00
committed by GitHub
parent e8f2a863a6
commit 5a618c21b0
+2 -1
View File
@@ -75,9 +75,10 @@ namespace RuriLib
// If the clearance info is already set and we're not getting it fresh each time, skip
if (data.UseProxies)
{
if (data.Proxy.Clearance != "" && data.Proxy.Cfduid != "" && !data.GlobalSettings.Proxies.AlwaysGetClearance)
if (data.Proxy.Clearance != "" && !data.GlobalSettings.Proxies.AlwaysGetClearance)
{
data.Log(new LogEntry("Skipping CF Bypass because there is already a valid cookie", Colors.White));
data.Cookies.Add("cf_clearance", data.Proxy.Clearance);
return;
}
}