mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
make database seed code less verbose
disable killserver command fix issue with default parser not saving during setup fix issue with unban reason displayed when player is rebanned
This commit is contained in:
@ -538,7 +538,7 @@ namespace SharedLibraryCore.Database.Models
|
||||
// kick them as their level is banned
|
||||
if (Level == Permission.Banned)
|
||||
{
|
||||
var profileBan = ReceivedPenalties.FirstOrDefault(_penalty => _penalty.Expires == null && _penalty.Active);
|
||||
var profileBan = ReceivedPenalties.FirstOrDefault(_penalty => _penalty.Expires == null && _penalty.Active && _penalty.Type == Penalty.PenaltyType.Ban);
|
||||
|
||||
if (profileBan == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user