summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-10-05 05:34:33 +0100
committerKHobbits <rob@khobbits.co.uk>2013-10-05 05:34:33 +0100
commitaef2a5ff7d12607fac6635cbf98e56f68dacd971 (patch)
treed713cc9f65ab583fdb647cd382c50cfba1d1641b
parenta3807efc68b68334263ca78d5c5db8f4b9cbeb18 (diff)
downloadEssentials-aef2a5ff7d12607fac6635cbf98e56f68dacd971.tar
Essentials-aef2a5ff7d12607fac6635cbf98e56f68dacd971.tar.gz
Essentials-aef2a5ff7d12607fac6635cbf98e56f68dacd971.tar.lz
Essentials-aef2a5ff7d12607fac6635cbf98e56f68dacd971.tar.xz
Essentials-aef2a5ff7d12607fac6635cbf98e56f68dacd971.zip
Allow recolouring own name.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandnick.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java
index c003dcbdd..eb5f60ecc 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandnick.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandnick.java
@@ -117,7 +117,7 @@ public class Commandnick extends EssentialsLoopCommand
return true;
}
}
- if (ess.getUser(lowerNick) != null) {
+ if (ess.getUser(lowerNick) != null && ess.getUser(lowerNick) != target) {
return true;
}
return false;