Allow llTeleportAgent to teleport gods when not in god mode

avinationmerge
Melanie 2012-03-14 19:21:25 +01:00
parent c0f70d17fc
commit d1daea0108
1 changed files with 1 additions and 1 deletions

View File

@ -4678,7 +4678,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (presence != null && presence.PresenceType != PresenceType.Npc)
{
// agent must not be a god
if (presence.UserLevel >= 200) return;
if (presence.GodLevel >= 200) return;
// agent must be over the owners land
if (m_host.OwnerID == World.LandChannel.GetLandObject(