From 0b042dad43b7065c12f38980c90a0ad6bb823ccc Mon Sep 17 00:00:00 2001 From: drtshock Date: Mon, 6 Jul 2015 16:19:32 -0500 Subject: [PATCH] Add separate permission for notifying ban ip. Resolves #60. Permission is essentials.banip.notify and old one is essentials.ban.notify. --- .../src/com/earth2me/essentials/commands/Commandbanip.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java index 20cc516b2..f3135dbb0 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbanip.java @@ -52,6 +52,6 @@ public class Commandbanip extends EssentialsCommand { ess.getServer().getBanList(BanList.Type.IP).addBan(ipAddress, banReason, null, senderName); server.getLogger().log(Level.INFO, tl("playerBanIpAddress", senderName, ipAddress, banReason)); - ess.broadcastMessage("essentials.ban.notify", tl("playerBanIpAddress", senderName, ipAddress, banReason)); + ess.broadcastMessage("essentials.banip.notify", tl("playerBanIpAddress", senderName, ipAddress, banReason)); } }