diff options
author | Charles Krinke | 2008-07-10 13:51:56 +0000 |
---|---|---|
committer | Charles Krinke | 2008-07-10 13:51:56 +0000 |
commit | 81af87545e9be791252e2f9b748dcf5abb876c58 (patch) | |
tree | edb271b0388c9cb7bd3c437b0f2c169cea6b603c /OpenSim/Region/Modules/SvnSerialiser | |
parent | Mantis#1682. Thank you kindly, Sempuki for a patch that: (diff) | |
download | opensim-SC-81af87545e9be791252e2f9b748dcf5abb876c58.zip opensim-SC-81af87545e9be791252e2f9b748dcf5abb876c58.tar.gz opensim-SC-81af87545e9be791252e2f9b748dcf5abb876c58.tar.bz2 opensim-SC-81af87545e9be791252e2f9b748dcf5abb876c58.tar.xz |
Mantis#1391. Thank you kindly, Phrearch for a patch that:
Solves svnbackup svn add directory failure.
Diffstat (limited to 'OpenSim/Region/Modules/SvnSerialiser')
-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 | { |