aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons
diff options
context:
space:
mode:
authorDiva Canto2016-06-23 12:10:50 -0700
committerDiva Canto2016-06-23 12:10:50 -0700
commitcec5682da96a4f8e385197ec1e5d2dedf923c2e8 (patch)
tree85c398e7bb56c0767f43d0714f47be19b9f035d4 /OpenSim/Addons
parentMantis #7934 and related: landing points and telehubs for gods. Added a new c... (diff)
downloadopensim-SC_OLD-cec5682da96a4f8e385197ec1e5d2dedf923c2e8.zip
opensim-SC_OLD-cec5682da96a4f8e385197ec1e5d2dedf923c2e8.tar.gz
opensim-SC_OLD-cec5682da96a4f8e385197ec1e5d2dedf923c2e8.tar.bz2
opensim-SC_OLD-cec5682da96a4f8e385197ec1e5d2dedf923c2e8.tar.xz
Mantis #7937: don't send group info to NPCs
Diffstat (limited to 'OpenSim/Addons')
-rw-r--r--OpenSim/Addons/Groups/GroupsModule.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs
index 1d0acf4..3336e94 100644
--- a/OpenSim/Addons/Groups/GroupsModule.cs
+++ b/OpenSim/Addons/Groups/GroupsModule.cs
@@ -1265,6 +1265,11 @@ namespace OpenSim.Groups
1265 { 1265 {
1266 if (m_debugEnabled) m_log.InfoFormat("[Groups]: {0} called for {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, remoteClient.Name); 1266 if (m_debugEnabled) m_log.InfoFormat("[Groups]: {0} called for {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, remoteClient.Name);
1267 1267
1268 // NPCs currently don't have a CAPs structure or event queues. There is a strong argument for conveying this information
1269 // to them anyway since it makes writing server-side bots a lot easier, but for now we don't do anything.
1270 if (remoteClient.SceneAgent.PresenceType == PresenceType.Npc)
1271 return;
1272
1268 // TODO: All the client update functions need to be reexamined because most do too much and send too much stuff 1273 // TODO: All the client update functions need to be reexamined because most do too much and send too much stuff
1269 1274
1270 UUID agentID = GetRequestingAgentID(remoteClient); 1275 UUID agentID = GetRequestingAgentID(remoteClient);