Add separate permission for notifying ban ip. Resolves #60.

Permission is essentials.banip.notify and old one is essentials.ban.notify.
This commit is contained in:
drtshock 2015-07-06 16:19:32 -05:00
parent 14384f6bfa
commit 0b042dad43
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}