aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionLoader
diff options
context:
space:
mode:
authorDr Scofield2008-08-22 09:00:32 +0000
committerDr Scofield2008-08-22 09:00:32 +0000
commitcf5ee5eaa1505d3af811a5f317c82f151c5c3a4f (patch)
tree6c14e9464874fc02f8babf23564db64ff51d1266 /OpenSim/Framework/RegionLoader
parentCleaned up some warnings (diff)
downloadopensim-SC-cf5ee5eaa1505d3af811a5f317c82f151c5c3a4f.zip
opensim-SC-cf5ee5eaa1505d3af811a5f317c82f151c5c3a4f.tar.gz
opensim-SC-cf5ee5eaa1505d3af811a5f317c82f151c5c3a4f.tar.bz2
opensim-SC-cf5ee5eaa1505d3af811a5f317c82f151c5c3a4f.tar.xz
- fixes a bug in RemoteAdminPlugin where CreateRegion would not pay
attention to regionload_regionsdir from OpenSim.ini - fixes a type on RegionLoaderFileSystem
Diffstat (limited to 'OpenSim/Framework/RegionLoader')
-rw-r--r--OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs b/OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs
index c345fce..4667070 100644
--- a/OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs
+++ b/OpenSim/Framework/RegionLoader/Filesystem/RegionLoaderFileSystem.cs
@@ -33,11 +33,11 @@ namespace OpenSim.Framework.RegionLoader.Filesystem
33{ 33{
34 public class RegionLoaderFileSystem : IRegionLoader 34 public class RegionLoaderFileSystem : IRegionLoader
35 { 35 {
36 private IConfigSource m_configSouce; 36 private IConfigSource m_configSource;
37 37
38 public void SetIniConfigSource(IConfigSource configSource) 38 public void SetIniConfigSource(IConfigSource configSource)
39 { 39 {
40 m_configSouce = configSource; 40 m_configSource = configSource;
41 } 41 }
42 42
43 public RegionInfo[] LoadRegions() 43 public RegionInfo[] LoadRegions()
@@ -46,7 +46,7 @@ namespace OpenSim.Framework.RegionLoader.Filesystem
46 46
47 try 47 try
48 { 48 {
49 IConfig startupConfig = (IConfig)m_configSouce.Configs["Startup"]; 49 IConfig startupConfig = (IConfig)m_configSource.Configs["Startup"];
50 regionConfigPath = startupConfig.GetString("regionload_regionsdir", regionConfigPath).Trim(); 50 regionConfigPath = startupConfig.GetString("regionload_regionsdir", regionConfigPath).Trim();
51 } 51 }
52 catch (Exception) 52 catch (Exception)