add temporary debug msgs

This commit is contained in:
UbitUmarov
2017-05-29 01:27:02 +01:00
parent d94b2e6f6d
commit 6d23e0bc31
2 changed files with 8 additions and 0 deletions

View File

@@ -1489,10 +1489,12 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
if (neighbourRegion == null)
{
failureReason = "no region found"; // debug -> to remove
return null;
}
if (m_bannedRegionCache.IfBanned(neighbourRegion.RegionHandle, agentID))
{
failureReason = "Access Denied";
return null;
}
@@ -1511,6 +1513,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
{
// remember the fail
m_bannedRegionCache.Add(neighbourRegion.RegionHandle, agentID);
failureReason = "Access Denied";
return null;
}