Allow recolouring own name.

This commit is contained in:
KHobbits 2013-10-05 05:34:33 +01:00
parent e1ff3542ae
commit cfa367dfc3

View File

@ -117,7 +117,7 @@ public class Commandnick extends EssentialsLoopCommand
return true; return true;
} }
} }
if (ess.getUser(lowerNick) != null) { if (ess.getUser(lowerNick) != null && ess.getUser(lowerNick) != target) {
return true; return true;
} }
return false; return false;