Fix NREs harder.
parent
4ad05fb01d
commit
95a6ee0a37
|
@ -225,6 +225,10 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
|
||||||
if (m_Enabled) {
|
if (m_Enabled) {
|
||||||
m_log.Info ("[AUTO BACKUP]: AutoBackupModule enabled");
|
m_log.Info ("[AUTO BACKUP]: AutoBackupModule enabled");
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
m_log.Info ("[AUTO BACKUP]: AutoBackupModule disabled");
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer defTimer = new Timer(720 * 60000);
|
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.
|
//Add the current region to the list of regions tied to this timer.
|
||||||
|
if(scene != null)
|
||||||
|
{
|
||||||
if(state != null)
|
if(state != null)
|
||||||
{
|
{
|
||||||
if (timerMap.ContainsKey (state.GetTimer ())) {
|
if (timerMap.ContainsKey (state.GetTimer ())) {
|
||||||
|
@ -380,6 +386,7 @@ namespace OpenSim.Region.OptionalModules.World.AutoBackup
|
||||||
timerMap.Add(defaultState.GetTimer(), scns);
|
timerMap.Add(defaultState.GetTimer(), scns);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bool tmpBusyCheck = config.GetBoolean (prepend + "AutoBackupBusyCheck", defaultState.GetBusyCheck());
|
bool tmpBusyCheck = config.GetBoolean (prepend + "AutoBackupBusyCheck", defaultState.GetBusyCheck());
|
||||||
if(state == null && tmpBusyCheck != defaultState.GetBusyCheck())
|
if(state == null && tmpBusyCheck != defaultState.GetBusyCheck())
|
||||||
|
|
Loading…
Reference in New Issue