diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-02-19 21:24:51 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-19 21:24:51 -0500 |
| commit | 89d4ce309dfd63546d032e19bb1c186af7871af6 (patch) | |
| tree | c00a3aef679a7b419e8d2298b7c063dd4d5ec23f /Emby.Server.Implementations/LiveTv | |
| parent | b43317c5e10aeac5dd1510c3957fa59f453cf2c1 (diff) | |
| parent | 4811e76860c9ad71c14dc8548e70ef001458bf80 (diff) | |
Merge pull request #848 from Bond-009/perf
Minor changes to reduce allocations
Diffstat (limited to 'Emby.Server.Implementations/LiveTv')
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/LiveTvManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs index a36302876..f7ef16fb0 100644 --- a/Emby.Server.Implementations/LiveTv/LiveTvManager.cs +++ b/Emby.Server.Implementations/LiveTv/LiveTvManager.cs @@ -184,7 +184,7 @@ namespace Emby.Server.Implementations.LiveTv public QueryResult<BaseItem> GetInternalChannels(LiveTvChannelQuery query, DtoOptions dtoOptions, CancellationToken cancellationToken) { - var user = query.UserId.Equals(Guid.Empty) ? null : _userManager.GetUserById(query.UserId); + var user = query.UserId == Guid.Empty ? null : _userManager.GetUserById(query.UserId); var topFolder = GetInternalLiveTvFolder(cancellationToken); |
