mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Some typos fixed related to master avie removal
This commit is contained in:
@@ -212,7 +212,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
if (script.StartsWith("//MRM:C#"))
|
||||
{
|
||||
if (m_config.GetBoolean("OwnerOnly", true))
|
||||
if (m_scene.GetSceneObjectPart(localID).OwnerID != m_scene.RegionInfo.EstateSettings.EstateOwner)
|
||||
if (m_scene.GetSceneObjectPart(localID).OwnerID != m_scene.RegionInfo.EstateSettings.EstateOwner
|
||||
|| m_scene.GetSceneObjectPart(localID).CreatorID != m_scene.RegionInfo.EstateSettings.EstateOwner)
|
||||
return;
|
||||
|
||||
@@ -280,7 +280,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
public void GetGlobalEnvironment(uint localID, out IWorld world, out IHost host)
|
||||
{
|
||||
// UUID should be changed to object owner.
|
||||
UUID owner = m_scene.RegionInfo.EstateSettings.EstateOwner)
|
||||
UUID owner = m_scene.RegionInfo.EstateSettings.EstateOwner;
|
||||
SEUser securityUser = new SEUser(owner, "Name Unassigned");
|
||||
SecurityCredential creds = new SecurityCredential(securityUser, m_scene);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user