Skip to content

Commit

Permalink
Remove obsolete properties
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Nov 1, 2018
1 parent c567545 commit 5423596
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ArchiSteamFarm/BotConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,16 +224,6 @@ private string SSteamMasterClanID {
}
}

[JsonProperty]
private string SteamParentalPIN {
set {
if (string.IsNullOrEmpty(value) || (value != "0")) {
ASF.ArchiLogger.LogGenericWarning(string.Format(Strings.WarningDeprecated, nameof(SteamParentalPIN), nameof(SteamParentalCode)));
SteamParentalCode = string.IsNullOrEmpty(value) ? "0" : value;
}
}
}

internal (bool Valid, string ErrorMessage) CheckValidation() {
if (BotBehaviour > EBotBehaviour.All) {
return (false, string.Format(Strings.ErrorConfigPropertyInvalid, nameof(BotBehaviour), BotBehaviour));
Expand Down

0 comments on commit 5423596

Please sign in to comment.