diff options
| author | Stepan Goremykin <goremukin@gmail.com> | 2023-10-08 00:49:18 +0200 |
|---|---|---|
| committer | Stepan Goremykin <goremukin@gmail.com> | 2023-10-08 00:49:18 +0200 |
| commit | 963d8e66a2253dd421925b56497581e93ab07aff (patch) | |
| tree | 216e8e6462575f62c4a2d81ffb92963539d5f70f | |
| parent | 47254d6a2236e079af3cc8c2e37c77d9d1479235 (diff) | |
Remove redundant type specification
| -rw-r--r-- | Jellyfin.Networking/Extensions/NetworkExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Networking/Extensions/NetworkExtensions.cs b/Jellyfin.Networking/Extensions/NetworkExtensions.cs index e45fa3bcb..910a33c0f 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; } |
