mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 21:43:54 +00:00
Allow telnets to verify master builders, and mb httpd addition.
This commit is contained in:
@ -85,11 +85,7 @@ public class Command_mbconfig extends FreedomCommand
|
||||
}
|
||||
|
||||
checkConsole();
|
||||
checkRank(Rank.SENIOR_ADMIN);
|
||||
if (!FUtil.isExecutive(sender.getName()))
|
||||
{
|
||||
noPerms();
|
||||
}
|
||||
checkRank(Rank.TELNET_ADMIN);
|
||||
|
||||
// Player already on the list?
|
||||
final Player player = getPlayer(args[1]);
|
||||
@ -113,6 +109,12 @@ public class Command_mbconfig extends FreedomCommand
|
||||
|
||||
if (masterBuilder == null) // New entry
|
||||
{
|
||||
checkRank(Rank.SENIOR_ADMIN);
|
||||
if (!FUtil.isExecutive(sender.getName()))
|
||||
{
|
||||
noPerms();
|
||||
}
|
||||
|
||||
if (player == null)
|
||||
{
|
||||
msg(FreedomCommand.PLAYER_NOT_FOUND);
|
||||
|
Reference in New Issue
Block a user