diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs index 4826ff2..9f5e5a3 100644 --- a/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs +++ b/OpenSim/Region/Modules/SvnSerialiser/SvnBackupModule.cs | |||
@@ -212,9 +212,11 @@ namespace OpenSim.Region.Modules.SvnSerialiser | |||
212 | { | 212 | { |
213 | m_scenes.Add(scene); | 213 | m_scenes.Add(scene); |
214 | } | 214 | } |
215 | 215 | //Only register it once, to prevend command being executed x*region times | |
216 | scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; | 216 | if(m_scenes.Count ==1) { |
217 | } | 217 | scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; |
218 | } | ||
219 | } | ||
218 | 220 | ||
219 | public void PostInitialise() | 221 | public void PostInitialise() |
220 | { | 222 | { |