aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-14 16:48:42 -0700
committerJohn Hurliman2009-10-14 16:48:42 -0700
commitfe4109a5b046e72801f3da1899a8cc7b411998d7 (patch)
treea3f681c6d4ece12fe4335a5fb271a18ab8126401 /OpenSim/Region/ScriptEngine
parentAllow the LLUDP server to run in either synchronous or asynchronous mode with... (diff)
parentMerge branch 'master' into htb-throttle (diff)
downloadopensim-SC_OLD-fe4109a5b046e72801f3da1899a8cc7b411998d7.zip
opensim-SC_OLD-fe4109a5b046e72801f3da1899a8cc7b411998d7.tar.gz
opensim-SC_OLD-fe4109a5b046e72801f3da1899a8cc7b411998d7.tar.bz2
opensim-SC_OLD-fe4109a5b046e72801f3da1899a8cc7b411998d7.tar.xz
Merge branch 'htb-throttle' of ssh://opensimulator.org/var/git/opensim into htb-throttle
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index b5f6721..e10e612 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -859,7 +859,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
859 World.Entities.TryGetValue(objecUUID, out SensedObject); 859 World.Entities.TryGetValue(objecUUID, out SensedObject);
860 860
861 if (SensedObject == null) 861 if (SensedObject == null)
862 {
863 IGroupsModule groups = World.RequestModuleInterface<IGroupsModule>();
864 if (groups != null)
865 {
866 GroupRecord gr = groups.GetGroupRecord(objecUUID);
867 if (gr != null)
868 return gr.GroupName;
869 }
862 return String.Empty; 870 return String.Empty;
871 }
872
863 return SensedObject.Name; 873 return SensedObject.Name;
864 } 874 }
865 875