aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index 5f388a4..961698c 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -475,7 +475,7 @@ namespace OpenSim.Services.UserAccountService
475 /// <param name="lastName"></param> 475 /// <param name="lastName"></param>
476 /// <param name="password"></param> 476 /// <param name="password"></param>
477 /// <param name="email"></param> 477 /// <param name="email"></param>
478 private void CreateUser(string firstName, string lastName, string password, string email) 478 public UserAccount CreateUser(string firstName, string lastName, string password, string email)
479 { 479 {
480 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); 480 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName);
481 if (null == account) 481 if (null == account)
@@ -543,6 +543,8 @@ namespace OpenSim.Services.UserAccountService
543 { 543 {
544 m_log.ErrorFormat("[USER ACCOUNT SERVICE]: A user with the name {0} {1} already exists!", firstName, lastName); 544 m_log.ErrorFormat("[USER ACCOUNT SERVICE]: A user with the name {0} {1} already exists!", firstName, lastName);
545 } 545 }
546
547 return account;
546 } 548 }
547 549
548 private void CreateDefaultAppearanceEntries(UUID principalID) 550 private void CreateDefaultAppearanceEntries(UUID principalID)