Allow the console to be used by gods as well as region owners.

avinationmerge
Melanie 2012-10-17 01:31:05 +02:00
parent aba078c93f
commit 322eefbb6f
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ namespace OpenSim.Region.ClientStack.Linden
public void RegisterCaps(UUID agentID, Caps caps)
{
if (!m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(agentID))
if (!m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(agentID) && !m_scene.Permissions.IsGod(agentID))
return;
UUID capID = UUID.Random();