diff options
Diffstat (limited to 'OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs')
-rw-r--r-- | OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs index 9f5e5a3..a1c1b88 100644 --- a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs +++ b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs | |||
@@ -212,11 +212,12 @@ namespace OpenSim.Region.Modules.SvnSerialiser | |||
212 | { | 212 | { |
213 | m_scenes.Add(scene); | 213 | m_scenes.Add(scene); |
214 | } | 214 | } |
215 | //Only register it once, to prevend command being executed x*region times | 215 | //Only register it once, to prevent command being executed x*region times |
216 | if(m_scenes.Count ==1) { | 216 | if (m_scenes.Count == 1) |
217 | scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; | 217 | { |
218 | } | 218 | scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; |
219 | } | 219 | } |
220 | } | ||
220 | 221 | ||
221 | public void PostInitialise() | 222 | public void PostInitialise() |
222 | { | 223 | { |
@@ -341,7 +342,6 @@ namespace OpenSim.Region.Modules.SvnSerialiser | |||
341 | } | 342 | } |
342 | } | 343 | } |
343 | 344 | ||
344 | |||
345 | public void LoadAllScenes(int revision) | 345 | public void LoadAllScenes(int revision) |
346 | { | 346 | { |
347 | CheckoutSvn(new SvnRevision(revision)); | 347 | CheckoutSvn(new SvnRevision(revision)); |