mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-25 14:40:31 -05:00
I apparently initialized the commands for each server, which result in 114 commands being added. That is now fixed.
Hopefully this is the final fix for chat remaining on empty servers. (order matters!) Configuration setting to allow multiple owners. Fixed setlevel issues. Organized Server class variables
This commit is contained in:
@ -15,22 +15,22 @@ namespace IW4MAdmin
|
||||
|
||||
public void AddPenalty(Penalty P)
|
||||
{
|
||||
Manager.GetInstance().GetClientDatabase().AddBan(P);
|
||||
ApplicationManager.GetInstance().GetClientDatabase().AddBan(P);
|
||||
}
|
||||
|
||||
public void RemovePenalty(Penalty P)
|
||||
{
|
||||
Manager.GetInstance().GetClientDatabase().RemoveBan(P.OffenderID);
|
||||
ApplicationManager.GetInstance().GetClientDatabase().RemoveBan(P.OffenderID);
|
||||
}
|
||||
|
||||
public List<Penalty> FindPenalties(Player P)
|
||||
{
|
||||
return Manager.GetInstance().GetClientDatabase().GetClientPenalties(P);
|
||||
return ApplicationManager.GetInstance().GetClientDatabase().GetClientPenalties(P);
|
||||
}
|
||||
|
||||
public List<Penalty> AsChronoList(int offset, int count)
|
||||
{
|
||||
return Manager.GetInstance().GetClientDatabase().GetPenaltiesChronologically(offset, count);
|
||||
return ApplicationManager.GetInstance().GetClientDatabase().GetPenaltiesChronologically(offset, count);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user