diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-01-20 22:54:47 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-01-20 22:54:47 +0000 |
commit | 662749be8b68ab0b2a336fe416addc928ee05dc2 (patch) | |
tree | 1d5931e91b0673b20e8167fe7ea911dce2809a37 /EssentialsChat/src/com | |
parent | e46fe381b4610d6a784922fe0bfc1bdca963d7c3 (diff) | |
download | Essentials-662749be8b68ab0b2a336fe416addc928ee05dc2.tar Essentials-662749be8b68ab0b2a336fe416addc928ee05dc2.tar.gz Essentials-662749be8b68ab0b2a336fe416addc928ee05dc2.tar.lz Essentials-662749be8b68ab0b2a336fe416addc928ee05dc2.tar.xz Essentials-662749be8b68ab0b2a336fe416addc928ee05dc2.zip |
Check shout/question messages are longer than 1 character.
Diffstat (limited to 'EssentialsChat/src/com')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java index 0c1661ce5..fdaccdc8d 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java @@ -45,7 +45,7 @@ public class EssentialsChatPlayerListenerNormal extends EssentialsChatPlayer final User user = chatStore.getUser(); chatStore.setRadius(radius); - if (event.getMessage().length() > 0 && chatStore.getType().length() > 0) + if (event.getMessage().length() > 1 && chatStore.getType().length() > 0) { final StringBuilder permission = new StringBuilder(); permission.append("essentials.chat.").append(chatStore.getType()); |