aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index 0acfdcf..e071b94 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -340,7 +340,7 @@ namespace OpenSim.Services.UserAccountService
340 email = MainConsole.Instance.CmdPrompt("Email", ""); 340 email = MainConsole.Instance.CmdPrompt("Email", "");
341 else email = cmdparams[5]; 341 else email = cmdparams[5];
342 342
343 CreateUser(firstName, lastName, password, email); 343 CreateUser(UUID.Zero, firstName, lastName, password, email);
344 } 344 }
345 345
346 protected void HandleShowAccount(string module, string[] cmdparams) 346 protected void HandleShowAccount(string module, string[] cmdparams)
@@ -452,11 +452,12 @@ namespace OpenSim.Services.UserAccountService
452 /// <summary> 452 /// <summary>
453 /// Create a user 453 /// Create a user
454 /// </summary> 454 /// </summary>
455 /// <param name="scopeID">Allows hosting of multiple grids in a single database. Normally left as UUID.Zero</param>
455 /// <param name="firstName"></param> 456 /// <param name="firstName"></param>
456 /// <param name="lastName"></param> 457 /// <param name="lastName"></param>
457 /// <param name="password"></param> 458 /// <param name="password"></param>
458 /// <param name="email"></param> 459 /// <param name="email"></param>
459 public UserAccount CreateUser(string firstName, string lastName, string password, string email) 460 public UserAccount CreateUser(UUID scopeID, string firstName, string lastName, string password, string email)
460 { 461 {
461 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName); 462 UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName);
462 if (null == account) 463 if (null == account)