diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/Capabilities/CapabilitiesModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/Capabilities/CapabilitiesModule.cs b/OpenSim/Region/CoreModules/Agent/Capabilities/CapabilitiesModule.cs index c023a6f..5c5cb70 100644 --- a/OpenSim/Region/CoreModules/Agent/Capabilities/CapabilitiesModule.cs +++ b/OpenSim/Region/CoreModules/Agent/Capabilities/CapabilitiesModule.cs | |||
@@ -88,7 +88,8 @@ namespace OpenSim.Region.CoreModules.Agent.Capabilities | |||
88 | 88 | ||
89 | public void AddCapsHandler(UUID agentId) | 89 | public void AddCapsHandler(UUID agentId) |
90 | { | 90 | { |
91 | if (m_scene.RegionInfo.EstateSettings.IsBanned(agentId)) | 91 | int flags = m_scene.GetUserFlags(agentId); |
92 | if (m_scene.RegionInfo.EstateSettings.IsBanned(agentId, flags)) | ||
92 | return; | 93 | return; |
93 | 94 | ||
94 | String capsObjectPath = GetCapsPath(agentId); | 95 | String capsObjectPath = GetCapsPath(agentId); |