Fix: Allow use of parameters without specifying a file path with command "save oar"

This commit is contained in:
Marck
2010-11-23 11:15:00 +01:00
parent ba2bf78dcf
commit c68f03a6ff

View File

@@ -130,7 +130,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
List<string> mainParams = ops.Parse(cmdparams);
if (cmdparams.Length > 2)
if (mainParams.Count > 2)
{
ArchiveRegion(mainParams[2], options);
}