[Admin QOL] +Adminchat flag (#26930)

This commit is contained in:
Tainakov 2024-04-27 14:17:46 +03:00 committed by null
parent 0582b098c1
commit 619c00c22c
No known key found for this signature in database
GPG Key ID: 212F05528FD678BE
3 changed files with 7 additions and 2 deletions

View File

@ -551,7 +551,7 @@ public sealed class ChatUIController : UIController
}
// only admins can see / filter asay
if (_admin.HasFlag(AdminFlags.Admin))
if (_admin.HasFlag(AdminFlags.Adminchat))
{
FilterableChannels |= ChatChannel.Admin;
FilterableChannels |= ChatChannel.AdminAlert;

View File

@ -5,7 +5,7 @@ using Robust.Shared.Console;
namespace Content.Server.Chat.Commands
{
[AdminCommand(AdminFlags.Admin)]
[AdminCommand(AdminFlags.Adminchat)]
internal sealed class AdminChatCommand : IConsoleCommand
{
public string Command => "asay";

View File

@ -99,6 +99,11 @@
/// </summary>
Stealth = 1 << 16,
///<summary>
/// Allows you to use Admin chat
///</summary>
Adminchat = 1 << 17,
/// <summary>
/// DeltaV - The ability to whitelist people. Either this permission or +BAN is required for remove.
/// </summary>