Fix a small bug in login disable code

mysql-performance
Melanie 2010-01-10 04:05:19 +00:00
parent b9e6f4583c
commit 45b19e5e2d
1 changed files with 1 additions and 1 deletions

View File

@ -1275,7 +1275,7 @@ namespace OpenSim.Region.Framework.Scenes
StatsReporter.addScriptLines(m_sceneGraph.GetScriptLPS());
}
if (LoginsDisabled && m_frame > 20)
if (LoginsDisabled && m_frame == 20)
{
// In 99.9% of cases it is a bad idea to manually force garbage collection. However,
// this is a rare case where we know we have just went through a long cycle of heap