diff --git a/CHANGELIST.md b/CHANGELIST.md index 5c18b5e1..de76848c 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -40,6 +40,7 @@ - Fix IsReadOnly - Only include booleans if the value is true - Add hidden debug option for "ShowDebugViewMenuItem" +- Fix incorrect header check ### 2.2 (2021-12-30) - Fix Saturn header finding diff --git a/RedumpLib/Web/RedumpWebClient.cs b/RedumpLib/Web/RedumpWebClient.cs index fe02ba69..5611fc2a 100644 --- a/RedumpLib/Web/RedumpWebClient.cs +++ b/RedumpLib/Web/RedumpWebClient.cs @@ -30,7 +30,7 @@ namespace RedumpLib.Web public string GetLastFilename() { // If the response headers are null or empty - if (ResponseHeaders == null || ResponseHeaders.Count != 0) + if (ResponseHeaders == null || ResponseHeaders.Count == 0) return null; // If we don't have the response header we care about