diff --git a/TwitchDownloaderCore/Tools/M3U8.cs b/TwitchDownloaderCore/Tools/M3U8.cs index 2d8632e6..adf341dc 100644 --- a/TwitchDownloaderCore/Tools/M3U8.cs +++ b/TwitchDownloaderCore/Tools/M3U8.cs @@ -881,7 +881,7 @@ public static void AppendIfNotNull(StringBuilder sb, string keyName, T? value public static void AppendIfNotDefault(StringBuilder sb, string keyName, T value, ReadOnlySpan end) where T : struct, IEquatable { - if (!value.Equals(default)) + if (value.Equals(default)) return; sb.Append(keyName);