mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Added a setting in RuriLib > Proxies to shuffle Proxies on Start.
This commit is contained in:
@@ -982,7 +982,7 @@ namespace RuriLib.Runner
|
||||
ProxyPool = new ProxyPool(
|
||||
GetProxiesFromAPI(Settings.Proxies.ReloadPath,
|
||||
Settings.Proxies.ReloadType,
|
||||
Settings.Proxies.ParseWithIPRegex));
|
||||
Settings.Proxies.ParseWithIPRegex), Settings.Proxies.ShuffleOnStart);
|
||||
}
|
||||
catch (Exception ex) { RaiseMessageArrived(LogLevel.Error, $"Could not contact the reload API - {ex.Message}", true); }
|
||||
break;
|
||||
@@ -993,7 +993,7 @@ namespace RuriLib.Runner
|
||||
ProxyPool = new ProxyPool(
|
||||
GetProxiesFromFile(Settings.Proxies.ReloadPath,
|
||||
Settings.Proxies.ReloadType,
|
||||
Settings.Proxies.ParseWithIPRegex));
|
||||
Settings.Proxies.ParseWithIPRegex), Settings.Proxies.ShuffleOnStart);
|
||||
}
|
||||
catch (Exception ex) { RaiseMessageArrived(LogLevel.Error, $"Could not read the proxies from file - {ex.Message}", true); }
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user