summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/UserData.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/UserData.java b/Essentials/src/com/earth2me/essentials/UserData.java
index e48ec7b50..3835905e6 100644
--- a/Essentials/src/com/earth2me/essentials/UserData.java
+++ b/Essentials/src/com/earth2me/essentials/UserData.java
@@ -457,6 +457,13 @@ public abstract class UserData extends PlayerExtension implements IConf
}
config.save();
}
+
+ @Deprecated
+ public boolean isIgnoredPlayer(final String userName)
+ {
+ final IUser user = ess.getUser(userName);
+ return (ignoredPlayers.contains(user.getName().toLowerCase(Locale.ENGLISH)) && !user.isAuthorized("essentials.chat.ignoreexempt"));
+ }
public boolean isIgnoredPlayer(IUser user)
{