diff options
Merge commit '90466515839eb34d7fd9984c92f1970ab5d6f3ad' into bigmerge
Diffstat (limited to 'OpenSim/Region/Application/OpenSimBase.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimBase.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 4b87f84..8d38bb8 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs | |||
@@ -500,6 +500,14 @@ namespace OpenSim | |||
500 | return clientServer; | 500 | return clientServer; |
501 | } | 501 | } |
502 | 502 | ||
503 | /// <summary> | ||
504 | /// Try to set up the estate owner for the given scene. | ||
505 | /// </summary> | ||
506 | /// <remarks> | ||
507 | /// The involves asking the user for information about the user on the console. If the user does not already | ||
508 | /// exist then it is created. | ||
509 | /// </remarks> | ||
510 | /// <param name="scene"></param> | ||
503 | private void SetUpEstateOwner(Scene scene) | 511 | private void SetUpEstateOwner(Scene scene) |
504 | { | 512 | { |
505 | RegionInfo regionInfo = scene.RegionInfo; | 513 | RegionInfo regionInfo = scene.RegionInfo; |
@@ -531,8 +539,9 @@ namespace OpenSim | |||
531 | string password = MainConsole.Instance.PasswdPrompt("Password"); | 539 | string password = MainConsole.Instance.PasswdPrompt("Password"); |
532 | string email = MainConsole.Instance.CmdPrompt("Email", ""); | 540 | string email = MainConsole.Instance.CmdPrompt("Email", ""); |
533 | 541 | ||
534 | // TODO: Where do we put m_regInfo.ScopeID? | 542 | account |
535 | account = ((UserAccountService)scene.UserAccountService).CreateUser(first, last, password, email); | 543 | = ((UserAccountService)scene.UserAccountService).CreateUser( |
544 | regionInfo.ScopeID, first, last, password, email); | ||
536 | } | 545 | } |
537 | // } | 546 | // } |
538 | } | 547 | } |