diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 05dcd35f4..5f05cf509 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -2991,7 +2991,7 @@ namespace ArchiSteamFarm { if (i >= steamParentalCode.Length) { IEnumerable passwordHash = ArchiCryptoHelper.GenerateSteamParentalHash(password, settings.salt, (byte) settings.passwordhash.Length, steamParentalAlgorithm); - if (passwordHash.SequenceEqual(settings.passwordhash)) { + if (passwordHash?.SequenceEqual(settings.passwordhash) == true) { return (true, steamParentalCode); } }