diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index f85db84..d9850d6 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3408,6 +3408,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3408 | //On login test land permisions | 3408 | //On login test land permisions |
3409 | if (vialogin) | 3409 | if (vialogin) |
3410 | { | 3410 | { |
3411 | IUserAccountCacheModule cache = RequestModuleInterface<IUserAccountCacheModule>(); | ||
3412 | if (cache != null) | ||
3413 | cache.Remove(agent.firstname + " " + agent.lastname); | ||
3411 | if (!TestLandRestrictions(agent.AgentID, out reason, ref agent.startpos.X, ref agent.startpos.Y)) | 3414 | if (!TestLandRestrictions(agent.AgentID, out reason, ref agent.startpos.X, ref agent.startpos.Y)) |
3412 | { | 3415 | { |
3413 | m_log.DebugFormat("[CONNECTION BEGIN]: Denying access to {0} due to no land access", agent.AgentID.ToString()); | 3416 | m_log.DebugFormat("[CONNECTION BEGIN]: Denying access to {0} due to no land access", agent.AgentID.ToString()); |