From 522d6261f11ffaf8320c3f0775beb5d0608ce226 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 16 Sep 2011 00:12:12 +0100
Subject: Correctly create a freshly created estate owner's default items and
avatar entries on standalone if applicable.
---
OpenSim/Services/UserAccountService/UserAccountService.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Services')
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index 21ce86c..0acfdcf 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -456,7 +456,7 @@ namespace OpenSim.Services.UserAccountService
///
///
///
- private void CreateUser(string firstName, string lastName, string password, string email)
+ public UserAccount CreateUser(string firstName, string lastName, string password, string email)
{
UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName);
if (null == account)
@@ -524,6 +524,8 @@ namespace OpenSim.Services.UserAccountService
{
m_log.ErrorFormat("[USER ACCOUNT SERVICE]: A user with the name {0} {1} already exists!", firstName, lastName);
}
+
+ return account;
}
private void CreateDefaultAppearanceEntries(UUID principalID)
--
cgit v1.1