summaryrefslogtreecommitdiffstats
path: root/EssentialsChat
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-01-20 22:54:47 +0000
committerKHobbits <rob@khobbits.co.uk>2012-01-20 22:54:47 +0000
commit662749be8b68ab0b2a336fe416addc928ee05dc2 (patch)
tree1d5931e91b0673b20e8167fe7ea911dce2809a37 /EssentialsChat
parente46fe381b4610d6a784922fe0bfc1bdca963d7c3 (diff)
downloadEssentials-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')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java2
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());