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

Small fixes

This commit is contained in:
RaidMax
2018-12-17 13:45:16 -06:00
parent 50aa965528
commit 94ef816b19
8 changed files with 18 additions and 13 deletions

View File

@ -940,7 +940,7 @@ namespace IW4MAdmin
await Manager.GetPenaltyService().Create(newPenalty);
}
override protected async Task Ban(string reason, EFClient targetClient, EFClient originClient, bool isEvade)
override protected async Task Ban(string reason, EFClient targetClient, EFClient originClient, bool isEvade = false)
{
// ensure player gets banned if command not performed on them in game
if (targetClient.ClientNumber < 0)