summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatWorker.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatWorker.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatWorker.java
index 7cde272ae..10787e75b 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatWorker.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatWorker.java
@@ -105,6 +105,9 @@ public class EssentialsChatWorker
for (Player p : server.getOnlinePlayers())
{
User u = Essentials.getStatic().getUser(p);
+ if (u.isIgnoredPlayer(user.getName()) && !user.isOp()) {
+ continue;
+ }
if (u != user && !u.isAuthorized("essentials.chat.spy"))
{
Location l = u.getLocation();