aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llchatbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llchatbar.cpp')
-rw-r--r--linden/indra/newview/llchatbar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp
index 3c977dd..dc67448 100644
--- a/linden/indra/newview/llchatbar.cpp
+++ b/linden/indra/newview/llchatbar.cpp
@@ -69,6 +69,7 @@
69#include "llui.h" 69#include "llui.h"
70#include "lluictrlfactory.h" 70#include "lluictrlfactory.h"
71 71
72#include "chatbar_as_cmdline.h"
72 73
73// 74//
74// Globals 75// Globals
@@ -457,6 +458,8 @@ void LLChatBar::sendChat( EChatType type )
457 utf8_revised_text = utf8str_trim(utf8_revised_text); 458 utf8_revised_text = utf8str_trim(utf8_revised_text);
458 459
459 if (!utf8_revised_text.empty()) 460 if (!utf8_revised_text.empty())
461
462 if (!utf8_revised_text.empty() && cmd_line_chat(utf8_revised_text, type))
460 { 463 {
461 // Chat with animation 464 // Chat with animation
462 sendChatFromViewer(utf8_revised_text, type, TRUE); 465 sendChatFromViewer(utf8_revised_text, type, TRUE);