diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-08-26 17:28:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-26 17:28:34 +0200 |
| commit | 9ae429b6f64531a2f063a04d0fdd31cceb16a9b5 (patch) | |
| tree | af2dce1e454665f90ea69ef3c752680db73d2be7 /Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | |
| parent | 3ee1141a06d41ac080cd5fd6b2253e1ed23d675e (diff) | |
| parent | 18a311d32fd6e3cdfed466017bda46566a013106 (diff) | |
Merge pull request #10141 from Bond-009/nullable3
Diffstat (limited to 'Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs')
| -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); } |
