This commit is contained in:
JustArchi
2019-12-03 18:58:02 +01:00
parent dbbf4b7eba
commit fef7860564

View File

@@ -289,7 +289,7 @@ namespace ArchiSteamFarm.Plugins {
}
internal static async Task<bool> OnBotFriendRequest(Bot bot, ulong steamID) {
if ((bot == null) || (steamID == 0) || !new SteamID(steamID).IsIndividualAccount) {
if ((bot == null) || (steamID == 0) || !new SteamID(steamID).IsValid) {
ASF.ArchiLogger.LogNullError(nameof(bot) + " || " + nameof(steamID));
return false;