diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 50bd386..a070248 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -407,7 +407,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
407 | UserProfileData profile = World.CommsManager.UserService.GetUserProfile(objecUUID); | 407 | UserProfileData profile = World.CommsManager.UserService.GetUserProfile(objecUUID); |
408 | if (profile != null) | 408 | if (profile != null) |
409 | { | 409 | { |
410 | string avatarname = profile.username + " " + profile.surname; | 410 | string avatarname = profile.FirstName + " " + profile.SurName; |
411 | return avatarname; | 411 | return avatarname; |
412 | } | 412 | } |
413 | // try an scene object | 413 | // try an scene object |