summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com/earth2me/essentials/chat
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-23 02:39:37 +0200
committersnowleo <schneeleo@gmail.com>2011-07-23 02:39:37 +0200
commit57bee443b1cecf0516b4c3d8733fc4382cf3f17d (patch)
treea3241f3d9d602ab24c1fcbdf12b41d9b5081c961 /EssentialsChat/src/com/earth2me/essentials/chat
parent621618e41fe1b8b4021aade20ee32693b3528bb3 (diff)
parent0f3c0e82f23a700c79e752592d5c01a42f7bcbbe (diff)
downloadEssentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.tar
Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.tar.gz
Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.tar.lz
Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.tar.xz
Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.zip
Merge branch 'master' into release
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
index bb5443a26..6b3039d0b 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
@@ -101,7 +101,7 @@ public class EssentialsChatPlayerListener extends PlayerListener
{
continue;
}
- if (!u.isAuthorized("essentials.chat.spy"))
+ if (!u.equals(user) && !u.isAuthorized("essentials.chat.spy"))
{
final Location l = u.getLocation();
final int dx = x - l.getBlockX();