1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-11 15:52:25 -05:00

migrated to ASP.Net Core

This commit is contained in:
RaidMax
2018-02-21 19:29:23 -06:00
parent 2e0b5f2d71
commit 761ab8a114
4407 changed files with 311698 additions and 124726 deletions

View File

@ -55,8 +55,9 @@ namespace SharedLibrary.Services
{
Active = true,
// set the level to the level of the existing client if they have the same IP + Name but new NetworkId
// fixme: issues?
Level = hasExistingAlias ?
context.Clients.First(c => c.CurrentAliasId == existingAlias.AliasId).Level :
context.Clients.First(c => c.AliasLinkId== existingAlias.LinkId).Level :
Player.Permission.User,
FirstConnection = DateTime.UtcNow,
Connections = 1,

View File

@ -144,7 +144,7 @@ namespace SharedLibrary.Services
select new ProfileMeta()
{
Key = "Event.Penalty",
Value = new ProfilePenalty
Value = new PenaltyInfo
{
OffenderName = victimAlias.Name,
OffenderId = victimClient.ClientId,
@ -175,7 +175,7 @@ namespace SharedLibrary.Services
select new ProfileMeta()
{
Key = "Event.Penalty",
Value = new ProfilePenalty
Value = new PenaltyInfo
{
OffenderName = victimAlias.Name,
OffenderId = victimClient.ClientId,