summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-06-19 20:57:40 +0100
committerKHobbits <rob@khobbits.co.uk>2012-06-19 20:57:40 +0100
commit0770ea5bcbf6b6929729e32cf3804a638a2ac617 (patch)
treecd04af549bf326e788463b6e9314a9b80ef1ab78
parentf0afe268040d9498e26d9858347b503a87ad570e (diff)
downloadEssentials-0770ea5bcbf6b6929729e32cf3804a638a2ac617.tar
Essentials-0770ea5bcbf6b6929729e32cf3804a638a2ac617.tar.gz
Essentials-0770ea5bcbf6b6929729e32cf3804a638a2ac617.tar.lz
Essentials-0770ea5bcbf6b6929729e32cf3804a638a2ac617.tar.xz
Essentials-0770ea5bcbf6b6929729e32cf3804a638a2ac617.zip
*borrows snowleo's strainer*
-rw-r--r--Essentials/src/com/earth2me/essentials/UserData.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/UserData.java b/Essentials/src/com/earth2me/essentials/UserData.java
index 76ed79277..7dd9ebf97 100644
--- a/Essentials/src/com/earth2me/essentials/UserData.java
+++ b/Essentials/src/com/earth2me/essentials/UserData.java
@@ -466,7 +466,7 @@ public abstract class UserData extends PlayerExtension implements IConf
{
return false;
}
- return (ignoredPlayers.contains(user.getName().toLowerCase(Locale.ENGLISH)) && !user.isAuthorized("essentials.chat.ignoreexempt"));
+ return isIgnoredPlayer(user);
}
public boolean isIgnoredPlayer(IUser user)