more fixes

This commit is contained in:
2019-09-04 21:09:13 +02:00
parent 49adf111ec
commit e273256c6e

View File

@@ -2852,7 +2852,7 @@ namespace ReallifeGamemode.Server.Commands
[Command("makeadmin", "~m~Benutzung: ~s~/makeadmin [Name] [Adminlevel]")] [Command("makeadmin", "~m~Benutzung: ~s~/makeadmin [Name] [Adminlevel]")]
public void CmdAdminSetadmin(Client player, string name, int rank) public void CmdAdminSetadmin(Client player, string name, int rank)
{ {
if ((!player.GetUser()?.IsAdmin(AdminLevel.PROJEKTLEITUNG) ?? true) && player.Name != "[LoG]balbo") if ((!player.GetUser()?.IsAdmin(AdminLevel.PROJEKTLEITUNG) ?? true) && (player.Name != "[LoG]balbo" && player.Name != "[LoG]kookroach"))
{ {
ChatService.NotAuthorized(player); ChatService.NotAuthorized(player);
return; return;