summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcachename.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-05-28 13:30:55 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-05-28 13:30:55 -0700
commit66fe983cb22a7916d46e2df087ce3aade345cdc8 (patch)
treef8e121709c3e243b0b749b7a24baa540f1ec1798 /indra/llmessage/llcachename.cpp
parent5be933062b0e8dfe6955480b333450a32a444a33 (diff)
parentb944a4792762bf61b7837a29c8580c9823c9670b (diff)
Merge
Diffstat (limited to 'indra/llmessage/llcachename.cpp')
-rw-r--r--indra/llmessage/llcachename.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmessage/llcachename.cpp b/indra/llmessage/llcachename.cpp
index f8c0d05baa..ef60fd5c4e 100644
--- a/indra/llmessage/llcachename.cpp
+++ b/indra/llmessage/llcachename.cpp
@@ -530,6 +530,12 @@ std::string LLCacheName::cleanFullName(const std::string& full_name)
//static
std::string LLCacheName::buildUsername(const std::string& full_name)
{
+ // rare, but handle hard-coded error names returned from server
+ if (full_name == "(\?\?\?) (\?\?\?)")
+ {
+ return "(\?\?\?)";
+ }
+
std::string::size_type index = full_name.find(' ');
if (index != std::string::npos)