1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-24 00:13:48 +01:00

[trunk] change the ability to nick others to permission node "essentials.nick.others"

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1202 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-04-15 23:21:40 +00:00
parent e4ce785721
commit fd610407d8

View File

@ -26,9 +26,9 @@ public class Commandnick extends EssentialsCommand
if (args.length > 1)
{
if (!user.isOp())
if (!user.isAuthorized("essentials.nick.others"))
{
user.sendMessage("§cOnly operators can change the nicknames of other users.");
user.sendMessage("§cYou do not have permission to change the nickname of others");
return;
}