Don't send empty chat requests.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3750 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -158,6 +158,10 @@ public class ChatView extends BContainer
|
||||
displayError("Error: unknown slash command.");
|
||||
return false;
|
||||
|
||||
} else if (text.length() == 0) {
|
||||
// no empty banter
|
||||
return false;
|
||||
|
||||
} else {
|
||||
// request to send this text as a chat message
|
||||
_chatdtr.requestSpeak(null, text, ChatCodes.DEFAULT_MODE);
|
||||
|
||||
Reference in New Issue
Block a user