diff options
author | Marck | 2010-08-14 12:46:17 +0200 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-08-20 19:35:52 +0100 |
commit | 7aad5af49850b3938282426dd1ecf160d7053032 (patch) | |
tree | d16c0b7080eaf22803cbdf1f30cc3b7f657b97ab /OpenSim/Framework | |
parent | OpenSim.ini.example FreeSwitch section improvements, move of XML-RPC section ... (diff) | |
download | opensim-SC_OLD-7aad5af49850b3938282426dd1ecf160d7053032.zip opensim-SC_OLD-7aad5af49850b3938282426dd1ecf160d7053032.tar.gz opensim-SC_OLD-7aad5af49850b3938282426dd1ecf160d7053032.tar.bz2 opensim-SC_OLD-7aad5af49850b3938282426dd1ecf160d7053032.tar.xz |
Some code cleanup for console command "create region".
Make region name an optional command parameter.
Avoid question for region name if it has already been specified.
Extend help text.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index afc4060..ea1a594 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -393,7 +393,7 @@ namespace OpenSim.Framework | |||
393 | if (!File.Exists(filename)) // New region config request | 393 | if (!File.Exists(filename)) // New region config request |
394 | { | 394 | { |
395 | IniConfigSource newFile = new IniConfigSource(); | 395 | IniConfigSource newFile = new IniConfigSource(); |
396 | ReadNiniConfig(newFile, String.Empty); | 396 | ReadNiniConfig(newFile, configName); |
397 | 397 | ||
398 | newFile.Save(filename); | 398 | newFile.Save(filename); |
399 | 399 | ||