The Free Software Media System - Server Backend & API
Remove redundant type specification
Stepan Goremykin963d8e66a225
diff --git a/Jellyfin.Networking/Extensions/NetworkExtensions.cs b/Jellyfin.Networking/Extensions/NetworkExtensions.csindex e45fa3bcb7..910a33c0f0 100644--- a/Jellyfin.Networking/Extensions/NetworkExtensions.cs+++ b/Jellyfin.Networking/Extensions/NetworkExtensions.cs@@ -204,7 +204,7 @@ public static partial class NetworkExtensions{var ipBlock = splitString.Current;var address = IPAddress.None;- if (negated && ipBlock.StartsWith<char>("!") && IPAddress.TryParse(ipBlock[1..], out var tmpAddress))+ if (negated && ipBlock.StartsWith("!") && IPAddress.TryParse(ipBlock[1..], out var tmpAddress)){address = tmpAddress;}