summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;