mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 21:38:27 +01:00
== null -> is null
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user