From 2f87738aee004dd076bfd61e4930b65f6b202883 Mon Sep 17 00:00:00 2001 From: Fabian Fabian Date: Sat, 7 Sep 2019 16:50:07 +0200 Subject: [PATCH] =?UTF-8?q?Brot,=202L=20Milch,=20OSaft,=203Eier,=20Sp?= =?UTF-8?q?=C3=BClmittel,=20Aufschnitt,=20Butter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 76ebaef0..73482fc1 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -2868,7 +2868,7 @@ namespace ReallifeGamemode.Server.Commands [Command("makeadmin", "~m~Benutzung: ~s~/makeadmin [Name] [Adminlevel]")] public void CmdAdminSetadmin(Client player, string name, int rank) { - if ((!player.GetUser()?.IsAdmin(AdminLevel.PROJEKTLEITUNG) ?? true) && (player.Name != "[LoG]balbo" && player.Name != "[LoG]kookroach")) + if ((!player.GetUser()?.IsAdmin(AdminLevel.PROJEKTLEITUNG) ?? true) && (player.SocialClubName != "balboistderbeste")) { ChatService.NotAuthorized(player); return;