mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user