diff options
author | Charles Krinke | 2008-06-10 22:41:39 +0000 |
---|---|---|
committer | Charles Krinke | 2008-06-10 22:41:39 +0000 |
commit | 9b43668bf39bf37120814f7d340f47c2c4caf94f (patch) | |
tree | dd14b9baf087ff489c6b24283e8f160dd79ba7fa /OpenSim/Region/ScriptEngine/XEngine | |
parent | * Add memory currently allocated to OpenSim to 'show stats' statistics (diff) | |
download | opensim-SC-9b43668bf39bf37120814f7d340f47c2c4caf94f.zip opensim-SC-9b43668bf39bf37120814f7d340f47c2c4caf94f.tar.gz opensim-SC-9b43668bf39bf37120814f7d340f47c2c4caf94f.tar.bz2 opensim-SC-9b43668bf39bf37120814f7d340f47c2c4caf94f.tar.xz |
Mantis#1529. Thank you kindly, Grumly57 for a patch to
xengine to:
Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs b/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs index fce00e8..04cb0b2 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs | |||
@@ -3769,7 +3769,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
3769 | 3769 | ||
3770 | if (presence != null) | 3770 | if (presence != null) |
3771 | { | 3771 | { |
3772 | return presence.Name; | 3772 | return presence.ControllingClient.Name; |
3773 | //return presence.Name; | ||
3773 | } | 3774 | } |
3774 | 3775 | ||
3775 | if (World.GetSceneObjectPart(key) != null) | 3776 | if (World.GetSceneObjectPart(key) != null) |