== null -> is null

This commit is contained in:
Bond_009
2023-08-22 21:14:54 +02:00
parent d92e9ae85e
commit 18a311d32f
14 changed files with 17 additions and 17 deletions

View File

@@ -276,7 +276,7 @@ namespace Jellyfin.Server.Extensions
}
else if (NetworkExtensions.TryParseToSubnet(allowedProxies[i], out var subnet))
{
if (subnet != null)
if (subnet is not null)
{
AddIPAddress(config, options, subnet.Prefix, subnet.PrefixLength);
}