aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 3a4276f..a17d92f 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -403,7 +403,9 @@ namespace OpenSim
403 string regionFile = String.Format("{0}/{1}", regionsDir, cmd[3]); 403 string regionFile = String.Format("{0}/{1}", regionsDir, cmd[3]);
404 // Allow absolute and relative specifiers 404 // Allow absolute and relative specifiers
405 if (cmd[3].StartsWith("/") || cmd[3].StartsWith("\\") || cmd[3].StartsWith("..") || cmd[3].EndsWith(".xml")) 405 if (cmd[3].StartsWith("/") || cmd[3].StartsWith("\\") || cmd[3].StartsWith("..") || cmd[3].EndsWith(".xml"))
406 {
406 regionFile = cmd[3]; 407 regionFile = cmd[3];
408 }
407 else 409 else
408 { 410 {
409 m_console.Error("Usage: create region <region name> <region_file.xml>"); 411 m_console.Error("Usage: create region <region name> <region_file.xml>");