mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
add temporary debug msgs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user