From 608ca78be13d586eb069a0774b1c9d5f0f44bb7a Mon Sep 17 00:00:00 2001 From: lol768 Date: Fri, 4 Jan 2013 18:49:00 +0000 Subject: [PATCH] Allow moderators to use the IP command https://github.com/ElasticPortalSuite/BungeeCord/issues/89 Stated on DBO as a mod+ command --- src/main/java/net/md_5/bungee/command/CommandIP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/md_5/bungee/command/CommandIP.java b/src/main/java/net/md_5/bungee/command/CommandIP.java index 8d5f61540..d1b75f4be 100644 --- a/src/main/java/net/md_5/bungee/command/CommandIP.java +++ b/src/main/java/net/md_5/bungee/command/CommandIP.java @@ -11,7 +11,7 @@ public class CommandIP extends Command @Override public void execute(CommandSender sender, String[] args) { - if (getPermission(sender) != Permission.ADMIN) + if (getPermission(sender) != Permission.MODERATOR && getPermission(sender) != Permission.ADMIN) { sender.sendMessage(ChatColor.RED + "You do not have permission to use this command"); return;