aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-29 18:11:58 +0000
committerJustin Clarke Casey2008-07-29 18:11:58 +0000
commitd13c9161c959fd151a620cd77ae4d2acbbdb6177 (patch)
tree2994219af193f23009888337c9d7c8d5db5a26f2 /OpenSim/Region/Application/OpenSimBase.cs
parent* minor: route create user through underlying super class method rather than ... (diff)
downloadopensim-SC_OLD-d13c9161c959fd151a620cd77ae4d2acbbdb6177.zip
opensim-SC_OLD-d13c9161c959fd151a620cd77ae4d2acbbdb6177.tar.gz
opensim-SC_OLD-d13c9161c959fd151a620cd77ae4d2acbbdb6177.tar.bz2
opensim-SC_OLD-d13c9161c959fd151a620cd77ae4d2acbbdb6177.tar.xz
* find user on save-inv
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index aa641e1..18edeac 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -663,6 +663,32 @@ namespace OpenSim
663 } 663 }
664 664
665 #endregion 665 #endregion
666
667 /// <summary>
668 /// Save inventory to a file.
669 /// </summary>
670 /// <param name="cmdparams"></param>
671 protected void SaveInv(string[] cmdparams)
672 {
673 m_log.Error("[CONSOLE]: This has not been implemented yet!");
674
675 if (cmdparams.Length < 3)
676 {
677 m_log.Error("[CONSOLE]: usage is save-inv <first name> <last name> <inventory path>");
678 return;
679 }
680
681 string firstName = cmdparams[0];
682 string lastName = cmdparams[1];
683 string invPath = cmdparams[2];
684
685 UserProfileData userProfile = m_commsManager.UserService.GetUserProfile(firstName, lastName);
686 if (null == userProfile)
687 {
688 m_log.ErrorFormat("[CONSOLE]: Failed to find user {0} {1}", firstName, lastName);
689 return;
690 }
691 }
666 692
667 /// <summary> 693 /// <summary>
668 /// Performs any last-minute sanity checking and shuts down the region server 694 /// Performs any last-minute sanity checking and shuts down the region server