fix issue with certain penalties not linking

This commit is contained in:
RaidMax
2022-01-28 15:33:21 -06:00
parent 3539101a40
commit 8730a3fab8
5 changed files with 27 additions and 13 deletions

View File

@ -37,7 +37,7 @@ namespace WebfrontCore.Controllers
return NotFound();
}
var activePenalties = (await Manager.GetPenaltyService().GetActivePenaltiesAsync(client.AliasLinkId, client.IPAddress));
var activePenalties = await Manager.GetPenaltyService().GetActivePenaltiesAsync(client.AliasLinkId, client.CurrentAliasId, client.IPAddress);
var tag = await _metaService.GetPersistentMeta(EFMeta.ClientTag, client);
if (tag?.LinkedMeta != null)