diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-05-18 09:49:24 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-05-18 09:49:24 -0400 |
| commit | a44a414238bc230a391d764904c71f9195a377e5 (patch) | |
| tree | 2cdc0f147d407828f37eb12c043c0a0f363ed09d /indra/newview/llgiveinventory.cpp | |
| parent | 7713a8477797f7d1209989e9c36f78090ce9c850 (diff) | |
| parent | 4993cfba34bda2057bf2fa83afe3db4222625ef7 (diff) | |
merge changes for storm-941
Diffstat (limited to 'indra/newview/llgiveinventory.cpp')
| -rw-r--r-- | indra/newview/llgiveinventory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llgiveinventory.cpp b/indra/newview/llgiveinventory.cpp index f990b9294d..30858871ec 100644 --- a/indra/newview/llgiveinventory.cpp +++ b/indra/newview/llgiveinventory.cpp @@ -311,6 +311,9 @@ void LLGiveInventory::logInventoryOffer(const LLUUID& to_agent, const LLUUID &im std::string full_name; if (gCacheName->getFullName(to_agent, full_name)) { + // Build a new format username or firstname_lastname for legacy names + // to use it for a history log filename. + full_name = LLCacheName::buildUsername(full_name); LLIMModel::instance().logToFile(full_name, LLTrans::getString("SECOND_LIFE"), im_session_id, LLTrans::getString("inventory_item_offered-im")); } } |
