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

cleanup and enhance penalty handling

This commit is contained in:
RaidMax
2021-10-31 11:57:32 -05:00
parent d440714e54
commit 298d617a6b
6 changed files with 71 additions and 77 deletions

View File

@ -83,6 +83,7 @@ namespace SharedLibraryCore.Commands
var found = await Manager.GetClientService().Get(dbID);
if (found != null)
{
found = Manager.FindActiveClient(found);
E.Target = found;
E.Target.CurrentServer = E.Owner;
E.Data = String.Join(" ", Args.Skip(1));