mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
Remove redundant type specification
This commit is contained in:
parent
47254d6a22
commit
963d8e66a2
@ -204,7 +204,7 @@ public static partial class NetworkExtensions
|
|||||||
{
|
{
|
||||||
var ipBlock = splitString.Current;
|
var ipBlock = splitString.Current;
|
||||||
var address = IPAddress.None;
|
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;
|
address = tmpAddress;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user