diff options
author | James Cook <james@lindenlab.com> | 2010-03-02 11:15:28 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-03-02 11:15:28 -0800 |
commit | 822d042e0c04dba2cdaced8c81b50840972a7286 (patch) | |
tree | c816132a3fcfa01822d1bc6c133743478ee9d523 /indra | |
parent | 04d27007fdd46688c86be85013272da3373f77fc (diff) |
Don't load cached names with blank last names, avoids data corruption
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llmessage/llcachename.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmessage/llcachename.cpp b/indra/llmessage/llcachename.cpp index eed2beb859..8575332392 100644 --- a/indra/llmessage/llcachename.cpp +++ b/indra/llmessage/llcachename.cpp @@ -388,7 +388,8 @@ void LLCacheName::exportFile(std::ostream& ostr) // store it LLUUID id = iter->first; std::string id_str = id.asString(); - if(!entry->mFirstName.empty() /* && !entry->mLastName.empty() */ ) // IDEVO save SLIDs + // IDEVO TODO: Should we store SLIDs with last name "Resident" or not? + if(!entry->mFirstName.empty() && !entry->mLastName.empty()) { data[AGENTS][id_str][FIRST] = entry->mFirstName; data[AGENTS][id_str][LAST] = entry->mLastName; |