Skip to content

Commit

Permalink
Whitelistremoves now requires either ban or whitelist, not both
Browse files Browse the repository at this point in the history
  • Loading branch information
NullWanderer committed Mar 21, 2024
1 parent e370470 commit 10b339b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Whitelist/WhitelistCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public override CompletionResult GetCompletion(IConsoleShell shell, string[] arg
}
}

[AdminCommand(AdminFlags.Ban | AdminFlags.Whitelist)] // DeltaV - Custom permission for whitelist. Hopefully this is an or, not an and
[AdminCommand(AdminFlags.Ban), AdminCommand(AdminFlags.Whitelist)] // DeltaV - Custom permission for whitelist.
public sealed class RemoveWhitelistCommand : LocalizedCommands
{
public override string Command => "whitelistremove";
Expand Down

0 comments on commit 10b339b

Please sign in to comment.