diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-06-19 20:57:40 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-06-19 20:57:40 +0100 |
commit | 8dfb3c03c74e16b41d2bf1768108225895adc1d4 (patch) | |
tree | c77a77596c88accf0d3479a4b98500b54c0f7db9 | |
parent | 81c545f45b5f428793e027083a424a7d739a0c21 (diff) | |
download | Essentials-8dfb3c03c74e16b41d2bf1768108225895adc1d4.tar Essentials-8dfb3c03c74e16b41d2bf1768108225895adc1d4.tar.gz Essentials-8dfb3c03c74e16b41d2bf1768108225895adc1d4.tar.lz Essentials-8dfb3c03c74e16b41d2bf1768108225895adc1d4.tar.xz Essentials-8dfb3c03c74e16b41d2bf1768108225895adc1d4.zip |
*borrows snowleo's strainer*
-rw-r--r-- | Essentials/src/com/earth2me/essentials/UserData.java | 2 |
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) |