1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

minor fixed

This commit is contained in:
RaidMax
2018-12-03 19:21:13 -06:00
parent 6d79c8210e
commit 4067217830
6 changed files with 44 additions and 17 deletions

View File

@ -485,7 +485,7 @@ namespace SharedLibraryCore.Database.Models
// hack: re apply the automated offense to the reban
if (currentBan.AutomatedOffense != null)
{
autoKickClient.AdministeredPenalties.Add(new EFPenalty()
autoKickClient.AdministeredPenalties?.Add(new EFPenalty()
{
AutomatedOffense = currentBan.AutomatedOffense
});