aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 18edeac..8164b1a 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -670,17 +670,18 @@ namespace OpenSim
670 /// <param name="cmdparams"></param> 670 /// <param name="cmdparams"></param>
671 protected void SaveInv(string[] cmdparams) 671 protected void SaveInv(string[] cmdparams)
672 { 672 {
673 m_log.Error("[CONSOLE]: This has not been implemented yet!"); 673 m_log.Error("[CONSOLE]: This command has not yet been implemented!");
674 674
675 if (cmdparams.Length < 3) 675 if (cmdparams.Length < 3)
676 { 676 {
677 m_log.Error("[CONSOLE]: usage is save-inv <first name> <last name> <inventory path>"); 677 m_log.Error("[CONSOLE]: usage is save-inv <first name> <last name> <inventory path> [<save file path>]");
678 return; 678 return;
679 } 679 }
680 680
681 string firstName = cmdparams[0]; 681 string firstName = cmdparams[0];
682 string lastName = cmdparams[1]; 682 string lastName = cmdparams[1];
683 string invPath = cmdparams[2]; 683 string invPath = cmdparams[2];
684 string savePath = (cmdparams.Length > 3 ? cmdparams[3] : DEFAULT_INV_BACKUP_FILENAME);
684 685
685 UserProfileData userProfile = m_commsManager.UserService.GetUserProfile(firstName, lastName); 686 UserProfileData userProfile = m_commsManager.UserService.GetUserProfile(firstName, lastName);
686 if (null == userProfile) 687 if (null == userProfile)