From 19a5e56d55b19c738605f49361157f14792d9d8a Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 29 Jul 2008 18:14:58 +0000 Subject: * add file path parameter to save-inv (in development) --- OpenSim/Region/Application/OpenSimBase.cs | 5 +++-- 1 file 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 /// protected void SaveInv(string[] cmdparams) { - m_log.Error("[CONSOLE]: This has not been implemented yet!"); + m_log.Error("[CONSOLE]: This command has not yet been implemented!"); if (cmdparams.Length < 3) { - m_log.Error("[CONSOLE]: usage is save-inv "); + m_log.Error("[CONSOLE]: usage is save-inv []"); return; } string firstName = cmdparams[0]; string lastName = cmdparams[1]; string invPath = cmdparams[2]; + string savePath = (cmdparams.Length > 3 ? cmdparams[3] : DEFAULT_INV_BACKUP_FILENAME); UserProfileData userProfile = m_commsManager.UserService.GetUserProfile(firstName, lastName); if (null == userProfile) -- cgit v1.1