aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Extensions
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-08-22 21:14:54 +0200
committerBond_009 <bond.009@outlook.com>2023-08-22 21:14:54 +0200
commit18a311d32fd6e3cdfed466017bda46566a013106 (patch)
tree3df6585a34945c5dd02edf98a0a826050e91b955 /Jellyfin.Server/Extensions
parentd92e9ae85e41fef981729f544bfd6df2c052a712 (diff)
== null -> is null
Diffstat (limited to 'Jellyfin.Server/Extensions')
-rw-r--r--Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
index e1dfa1d31..3271e08e4 100644
--- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
+++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
@@ -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);
}