Packages update

This commit is contained in:
JustArchi
2018-06-13 14:52:55 +02:00
parent 1d62ee11d3
commit 6c8a82ac13
2 changed files with 2 additions and 3 deletions

View File

@@ -40,7 +40,7 @@
<PackageReference Include="Humanizer" Version="2.3.3" /> <PackageReference Include="Humanizer" Version="2.3.3" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" /> <PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="NLog" Version="4.5.6" /> <PackageReference Include="NLog" Version="4.5.6" />
<PackageReference Include="SteamKit2" Version="2.1.0-Beta.1" /> <PackageReference Include="SteamKit2" Version="2.1.0" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'"> <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">

View File

@@ -194,8 +194,7 @@ namespace ArchiSteamFarm {
// User might not know what he's doing // User might not know what he's doing
// Ensure that he can't screw core ASF variables // Ensure that he can't screw core ASF variables
// TODO: Change me to >= EPersonaState.Max with next SK2 release if ((botConfig.OnlineStatus < EPersonaState.Offline) || (botConfig.OnlineStatus >= EPersonaState.Max)) {
if ((botConfig.OnlineStatus < EPersonaState.Offline) || (botConfig.OnlineStatus > EPersonaState.Max)) {
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorConfigPropertyInvalid, nameof(botConfig.OnlineStatus), botConfig.OnlineStatus)); ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorConfigPropertyInvalid, nameof(botConfig.OnlineStatus), botConfig.OnlineStatus));
return null; return null;
} }