diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-08-22 21:14:54 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-08-22 21:14:54 +0200 |
| commit | 18a311d32fd6e3cdfed466017bda46566a013106 (patch) | |
| tree | 3df6585a34945c5dd02edf98a0a826050e91b955 /Jellyfin.Server/Extensions | |
| parent | d92e9ae85e41fef981729f544bfd6df2c052a712 (diff) | |
== null -> is null
Diffstat (limited to 'Jellyfin.Server/Extensions')
| -rw-r--r-- | Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | 2 |
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); } |
