summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-12-13 22:45:47 -0800
committerMerov Linden <merov@lindenlab.com>2012-12-13 22:45:47 -0800
commit08cc82ec483fab8299d52ba979f04df95e525acb (patch)
tree5bee07767683ad2463c9314d2d215b9d3b4aa199 /indra/llcommon
parent94694be6b5aac985153aec8d396bfd47e7463acd (diff)
CHUI-599 : Fixed : Avatar name provides now a method to get the regular account name.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llavatarname.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/llavatarname.h b/indra/llcommon/llavatarname.h
index 2f8c534974..4827353018 100644
--- a/indra/llcommon/llavatarname.h
+++ b/indra/llcommon/llavatarname.h
@@ -74,6 +74,9 @@ public:
// Also used for backwards compatibility with systems like voice and muting
std::string getUserName() const;
+ // Returns "james.linden" or the legacy name for very old names
+ std::string getAccountName() const { return mUsername; }
+
// Debug print of the object
void dump() const;