aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Networking/Extensions/NetworkExtensions.cs
diff options
context:
space:
mode:
authorStepan Goremykin <goremukin@gmail.com>2023-10-08 00:49:18 +0200
committerStepan Goremykin <goremukin@gmail.com>2023-10-08 00:49:18 +0200
commit963d8e66a2253dd421925b56497581e93ab07aff (patch)
tree216e8e6462575f62c4a2d81ffb92963539d5f70f /Jellyfin.Networking/Extensions/NetworkExtensions.cs
parent47254d6a2236e079af3cc8c2e37c77d9d1479235 (diff)
Remove redundant type specification
Diffstat (limited to 'Jellyfin.Networking/Extensions/NetworkExtensions.cs')
-rw-r--r--Jellyfin.Networking/Extensions/NetworkExtensions.cs2
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;
}