From 05e228633dec7b37343cc782ab30e7aba8359046 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Mon, 6 Sep 2021 11:37:15 -0500 Subject: [PATCH] fix searching name resulting in incorrect results --- SharedLibraryCore/Services/ClientService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SharedLibraryCore/Services/ClientService.cs b/SharedLibraryCore/Services/ClientService.cs index 3b225da1b..8a70c7797 100644 --- a/SharedLibraryCore/Services/ClientService.cs +++ b/SharedLibraryCore/Services/ClientService.cs @@ -711,7 +711,7 @@ namespace SharedLibraryCore.Services iqClients = iqClients.Where(_client => networkId == _client.NetworkId || linkIds.Contains(_client.AliasLinkId) - || !_appConfig.EnableImplicitAccountLinking && _client.CurrentAlias.IPAddress == ipAddress); + || !_appConfig.EnableImplicitAccountLinking && _client.CurrentAlias.IPAddress != null && _client.CurrentAlias.IPAddress == ipAddress); // we want to project our results var iqClientProjection = iqClients.OrderByDescending(_client => _client.LastConnection)