create-region didn't know about regionload_regionsdir...

0.6.0-stable
Dr Scofield 2008-08-28 10:01:56 +00:00
parent 0921dafddf
commit 1828091528
1 changed files with 2 additions and 1 deletions

View File

@ -348,7 +348,8 @@ namespace OpenSim
break;
case "create-region":
CreateRegion(new RegionInfo(cmdparams[0], "Regions/" + cmdparams[1],false), true);
string regionsDir = ConfigSource.Source.Configs["Startup"].GetString("regionload_regionsdir", "Regions").Trim();
CreateRegion(new RegionInfo(cmdparams[0], String.Format("{0}/{1}", regionsDir, cmdparams[1]), false), true);
break;
case "remove-region":