aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
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
parentMantis #7934 and related: landing points and telehubs for gods. Added a new c... (diff)
downloadopensim-SC-cec5682da96a4f8e385197ec1e5d2dedf923c2e8.zip
opensim-SC-cec5682da96a4f8e385197ec1e5d2dedf923c2e8.tar.gz
opensim-SC-cec5682da96a4f8e385197ec1e5d2dedf923c2e8.tar.bz2
opensim-SC-cec5682da96a4f8e385197ec1e5d2dedf923c2e8.tar.xz
Mantis #7937: don't send group info to NPCs
Diffstat (limited to '')
-rw-r--r--OpenSim/Addons/Groups/GroupsModule.cs5
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs5
2 files changed, 10 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);
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
index 0849daf..62f863b 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
@@ -1387,6 +1387,11 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
1387 { 1387 {
1388 if (m_debugEnabled) m_log.InfoFormat("[GROUPS]: {0} called for {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, remoteClient.Name); 1388 if (m_debugEnabled) m_log.InfoFormat("[GROUPS]: {0} called for {1}", System.Reflection.MethodBase.GetCurrentMethod().Name, remoteClient.Name);
1389 1389
1390 // NPCs currently don't have a CAPs structure or event queues. There is a strong argument for conveying this information
1391 // to them anyway since it makes writing server-side bots a lot easier, but for now we don't do anything.
1392 if (remoteClient.SceneAgent.PresenceType == PresenceType.Npc)
1393 return;
1394
1390 // TODO: All the client update functions need to be reexamined because most do too much and send too much stuff 1395 // TODO: All the client update functions need to be reexamined because most do too much and send too much stuff
1391 1396
1392 UUID agentID = GetRequestingAgentID(remoteClient); 1397 UUID agentID = GetRequestingAgentID(remoteClient);