1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 06:37:58 -05:00

fix issue that shouldn't actually be an issue

This commit is contained in:
RaidMax 2022-06-12 15:09:26 -05:00
parent 1d100de715
commit a1316f254c

View File

@ -80,7 +80,7 @@ namespace SharedLibraryCore.Database.Models
set => CurrentAlias.IPAddress = value; set => CurrentAlias.IPAddress = value;
} }
[NotMapped] public string IPAddressString => IPAddress.ConvertIPtoString(); [NotMapped] public string IPAddressString => IPAddress is null ? null : IPAddress.ConvertIPtoString();
[NotMapped] public bool IsIngame => ClientNumber >= 0; [NotMapped] public bool IsIngame => ClientNumber >= 0;