Makes announcements a +ADMIN command instead of a +FUN command. (#4815)
This commit is contained in:
@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Administration.Commands
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class AnnounceUiCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "announceui";
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Content.Server.Administration.UI
|
||||
Close();
|
||||
break;
|
||||
case AdminAnnounceEuiMsg.DoAnnounce doAnnounce:
|
||||
if (!_adminManager.HasAdminFlag(Player, AdminFlags.Fun))
|
||||
if (!_adminManager.HasAdminFlag(Player, AdminFlags.Admin))
|
||||
{
|
||||
Close();
|
||||
break;
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Server.Announcements
|
||||
{
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public class AnnounceCommand : IConsoleCommand
|
||||
{
|
||||
public string Command => "announce";
|
||||
|
||||
Reference in New Issue
Block a user