From 9b43668bf39bf37120814f7d340f47c2c4caf94f Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Tue, 10 Jun 2008 22:41:39 +0000 Subject: Mantis#1529. Thank you kindly, Grumly57 for a patch to xengine to: Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name. --- OpenSim/Region/ScriptEngine/XEngine/LSL_ScriptCommands.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/XEngine') 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 if (presence != null) { - return presence.Name; + return presence.ControllingClient.Name; + //return presence.Name; } if (World.GetSceneObjectPart(key) != null) -- cgit v1.1