diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-02-20 10:14:08 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-02-20 10:14:08 +0100 |
| commit | b119c6d868c24212300285c501f43af91b31d404 (patch) | |
| tree | a7d33974188e8b0ae9a8f2401cf6efffe1b5a658 | |
| parent | 24a7e210c377bf828f21b5812f25c6545f7de006 (diff) | |
StringComparison.Ordinal instead of StringComparison.OrdinalIgnoreCase
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs index c18cb0074..1c0ed6505 100644 --- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs +++ b/Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs @@ -252,8 +252,8 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts private static bool IsValidChannelNumber(string numberString) { if (string.IsNullOrWhiteSpace(numberString) - || string.Equals(numberString, "-1", StringComparison.OrdinalIgnoreCase) - || string.Equals(numberString, "0", StringComparison.OrdinalIgnoreCase)) + || string.Equals(numberString, "-1", StringComparison.Ordinal) + || string.Equals(numberString, "0", StringComparison.Ordinal)) { return false; } |
