mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
@@ -174,15 +174,12 @@ namespace ArchiSteamFarm {
|
||||
return null;
|
||||
}
|
||||
|
||||
ASF.ArchiLogger.LogGenericDebug("Checking for websockets support!");
|
||||
if (globalConfig.SteamProtocols.HasFlag(ProtocolTypes.WebSocket) && !OS.SupportsWebSockets()) {
|
||||
ASF.ArchiLogger.LogGenericDebug("Disabling websockets!");
|
||||
globalConfig.SteamProtocols &= ProtocolTypes.WebSocket;
|
||||
if (globalConfig.SteamProtocols == 0) {
|
||||
globalConfig.SteamProtocols = ProtocolTypes.Tcp;
|
||||
}
|
||||
}
|
||||
ASF.ArchiLogger.LogGenericDebug("Done!");
|
||||
|
||||
GlobalConfig result = globalConfig;
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user