Revert "Test"

This reverts commit 06b6a7ce16.
This commit is contained in:
JustArchi
2017-09-26 06:31:07 +02:00
parent 1b11e9e65c
commit f36e6cace4
2 changed files with 0 additions and 7 deletions

View File

@@ -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;