diff options
author | Diva Canto | 2016-06-23 12:10:50 -0700 |
---|---|---|
committer | Diva Canto | 2016-06-23 12:10:50 -0700 |
commit | cec5682da96a4f8e385197ec1e5d2dedf923c2e8 (patch) | |
tree | 85c398e7bb56c0767f43d0714f47be19b9f035d4 /OpenSim/Region/OptionalModules | |
parent | Mantis #7934 and related: landing points and telehubs for gods. Added a new c... (diff) | |
download | opensim-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/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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); |