Skip to content

Commit

Permalink
upstream: AdminFlags fix (sync with wizards)
Browse files Browse the repository at this point in the history
  • Loading branch information
modern-nm committed May 23, 2024
1 parent 5d3246b commit 71e8aad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Administration/Commands/AdminWhoCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Text;
using System.Text;
using Content.Server.Administration.Managers;
using Content.Server.Afk;
using Content.Shared.Administration;
Expand All @@ -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";
Expand Down
7 changes: 1 addition & 6 deletions Content.Shared/Administration/AdminFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,10 @@ public enum AdminFlags : uint
/// </summary>
EditNotes = 1 << 14,

/// <summary>
/// Lets you write in admin chat.
/// </summary>
AdminChat = 1 << 15,

/// <summary>
/// Lets you Massban, on SS14.Admin
/// </summary>
MassBan = 1 << 16,
MassBan = 1 << 15,

/// <summary>
/// Allows you to remain hidden from adminwho except to other admins with this flag.
Expand Down

0 comments on commit 71e8aad

Please sign in to comment.