mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Allow the console to be used by gods as well as region owners.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user