Print a console message when we deny access because of no valid parcel found.

avinationmerge
meta7 2010-08-08 17:32:20 -07:00
parent 603b3a1606
commit 680e801bf2
1 changed files with 2 additions and 1 deletions

View File

@ -3513,7 +3513,8 @@ namespace OpenSim.Region.Framework.Scenes
if (tp == TeleportFlags.ViaLogin) if (tp == TeleportFlags.ViaLogin)
{ {
if (land != null && !TestLandRestrictions(agent, land, out reason)) if (land != null && !TestLandRestrictions(agent, land, out reason))
{ {
m_log.DebugFormat("[CONNECTION BEGIN]: Denying access to {0} due to no land access", agent.AgentID.ToString());
return false; return false;
} }
} }