Fix NREs harder.

bulletsim
Sean McNamara 2011-04-11 13:20:46 -04:00
parent 4ad05fb01d
commit 95a6ee0a37
1 changed files with 23 additions and 16 deletions

View File

@ -225,6 +225,10 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
if (m_Enabled) {
m_log.Info ("[AUTO BACKUP]: AutoBackupModule enabled");
}
else {
m_log.Info ("[AUTO BACKUP]: AutoBackupModule disabled");
return;
}
}
Timer defTimer = new Timer(720 * 60000);
@ -360,6 +364,8 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
}
//Add the current region to the list of regions tied to this timer.
if(scene != null)
{
if(state != null)
{
if (timerMap.ContainsKey (state.GetTimer ())) {
@ -380,6 +386,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
timerMap.Add(defaultState.GetTimer(), scns);
}
}
}
bool tmpBusyCheck = config.GetBoolean (prepend + "AutoBackupBusyCheck", defaultState.GetBusyCheck());
if(state == null && tmpBusyCheck != defaultState.GetBusyCheck())