diff --git a/ArchiSteamFarm/IPC.cs b/ArchiSteamFarm/IPC.cs index b575a4e68..3653716b9 100644 --- a/ArchiSteamFarm/IPC.cs +++ b/ArchiSteamFarm/IPC.cs @@ -859,7 +859,9 @@ namespace ArchiSteamFarm { authorized = password == Program.GlobalConfig.IPCPassword; - if (!authorized) { + if (authorized) { + FailedAuthorizations.Remove(ipAddress, out _); + } else { if (FailedAuthorizations.TryGetValue(ipAddress, out attempts)) { FailedAuthorizations[ipAddress] = ++attempts; } else {