summaryrefslogtreecommitdiffstats
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
commit19ca37d392ef7da3d3f41e1608e57503f1708491 (patch)
treef6cc6acd0130fffb570becafce2b38c2f1e5866b
parenta44c6d51f72a8606a2fde4c0b39dd0ced3cd1285 (diff)
downloadEssentials-19ca37d392ef7da3d3f41e1608e57503f1708491.tar
Essentials-19ca37d392ef7da3d3f41e1608e57503f1708491.tar.gz
Essentials-19ca37d392ef7da3d3f41e1608e57503f1708491.tar.lz
Essentials-19ca37d392ef7da3d3f41e1608e57503f1708491.tar.xz
Essentials-19ca37d392ef7da3d3f41e1608e57503f1708491.zip
Check shout/question messages are longer than 1 character.
-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());