correct off-by-one error in save iar command handling

remotes/origin/0.6.7-post-fixes
Justin Clark-Casey (justincc) 2009-09-18 22:25:32 +01:00
parent 33ea86374a
commit 967cbde055
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
/// <param name="cmdparams"></param> /// <param name="cmdparams"></param>
protected void HandleSaveInvConsoleCommand(string module, string[] cmdparams) protected void HandleSaveInvConsoleCommand(string module, string[] cmdparams)
{ {
if (cmdparams.Length < 5) if (cmdparams.Length < 6)
{ {
m_log.Error( m_log.Error(
"[INVENTORY ARCHIVER]: usage is save iar <first name> <last name> <inventory path> <user password> [<save file path>]"); "[INVENTORY ARCHIVER]: usage is save iar <first name> <last name> <inventory path> <user password> [<save file path>]");