mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-13 04:18:34 +00:00
Add permission check for the -o flag on the login message commands
This commit is contained in:
@ -34,6 +34,8 @@ public class SetLoginMessageCMD extends PlexCommand
|
||||
{
|
||||
if (args[0].equals("-o"))
|
||||
{
|
||||
checkRank(sender, Rank.SENIOR_ADMIN, "plex.setloginmessage.others");
|
||||
|
||||
if (args.length < 2)
|
||||
{
|
||||
return messageComponent("specifyPlayer");
|
||||
|
Reference in New Issue
Block a user