From 71e8aade605263a28890c81371ccfd5ebc3e4636 Mon Sep 17 00:00:00 2001 From: MODERN <87994977+modern-nm@users.noreply.github.com> Date: Thu, 23 May 2024 19:59:47 +0300 Subject: [PATCH] upstream: AdminFlags fix (sync with wizards) --- Content.Server/Administration/Commands/AdminWhoCommand.cs | 4 ++-- Content.Shared/Administration/AdminFlags.cs | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Content.Server/Administration/Commands/AdminWhoCommand.cs b/Content.Server/Administration/Commands/AdminWhoCommand.cs index 2b51cc2d509..a4be9a820e8 100644 --- a/Content.Server/Administration/Commands/AdminWhoCommand.cs +++ b/Content.Server/Administration/Commands/AdminWhoCommand.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; using Content.Server.Administration.Managers; using Content.Server.Afk; using Content.Shared.Administration; @@ -7,7 +7,7 @@ namespace Content.Server.Administration.Commands; -[AdminCommand(AdminFlags.AdminChat)] // Use only administration with flag AdminChat, eddit ADT +[AdminCommand(AdminFlags.Adminchat)] // Use only administration with flag AdminChat, eddit ADT public sealed class AdminWhoCommand : IConsoleCommand { public string Command => "adminwho"; diff --git a/Content.Shared/Administration/AdminFlags.cs b/Content.Shared/Administration/AdminFlags.cs index 1a2cfa05976..21b4f1d8b44 100644 --- a/Content.Shared/Administration/AdminFlags.cs +++ b/Content.Shared/Administration/AdminFlags.cs @@ -89,15 +89,10 @@ public enum AdminFlags : uint /// EditNotes = 1 << 14, - /// - /// Lets you write in admin chat. - /// - AdminChat = 1 << 15, - /// /// Lets you Massban, on SS14.Admin /// - MassBan = 1 << 16, + MassBan = 1 << 15, /// /// Allows you to remain hidden from adminwho except to other admins with this flag.