change "Sr.Admin" to "SrAdmin", because it was too long for a clantag.

This commit is contained in:
INSANEMODE
2020-11-16 04:01:22 -06:00
parent 44bc835887
commit 20ebf2d96f
3 changed files with 86 additions and 6 deletions

View File

@ -25,14 +25,14 @@ namespace WebfrontCore.Controllers.API
[HttpGet("{clientname}")]
public IActionResult Clientname(string clientname)
{
var clientInfo = Manager.GetActiveClients()
.FirstOrDefault(c => c.Name == clientname);
if (clientInfo != null)
{
switch((int)clientInfo.Level)
switch ((int)clientInfo.Level)
{
case 0:
rankName = "User";
@ -50,7 +50,7 @@ namespace WebfrontCore.Controllers.API
rankName = "Admin";
break;
case 5:
rankName = "Sr.Admin";
rankName = "SrAdmin";
break;
case 6:
rankName = "Owner";