diff options
author | Diva Canto | 2010-02-21 19:11:48 -0800 |
---|---|---|
committer | Diva Canto | 2010-02-21 19:11:48 -0800 |
commit | 2e7aa387f7a705079df4b534978c0f134591eea9 (patch) | |
tree | 50ab7c06119c34f7a14e4e5fb4b70b49c808a341 /OpenSim/Services/UserAccountService | |
parent | Small bug fixes for making tests work. (diff) | |
download | opensim-SC-2e7aa387f7a705079df4b534978c0f134591eea9.zip opensim-SC-2e7aa387f7a705079df4b534978c0f134591eea9.tar.gz opensim-SC-2e7aa387f7a705079df4b534978c0f134591eea9.tar.bz2 opensim-SC-2e7aa387f7a705079df4b534978c0f134591eea9.tar.xz |
One more test running.
Diffstat (limited to 'OpenSim/Services/UserAccountService')
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index ffb9cca..e498bd5 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs | |||
@@ -77,13 +77,16 @@ namespace OpenSim.Services.UserAccountService | |||
77 | if (invServiceDll != string.Empty) | 77 | if (invServiceDll != string.Empty) |
78 | m_InventoryService = LoadPlugin<IInventoryService>(invServiceDll, new Object[] { config }); | 78 | m_InventoryService = LoadPlugin<IInventoryService>(invServiceDll, new Object[] { config }); |
79 | 79 | ||
80 | MainConsole.Instance.Commands.AddCommand("UserService", false, | 80 | if (MainConsole.Instance != null) |
81 | "create user", | 81 | { |
82 | "create user [<first> [<last> [<pass> [<email>]]]]", | 82 | MainConsole.Instance.Commands.AddCommand("UserService", false, |
83 | "Create a new user", HandleCreateUser); | 83 | "create user", |
84 | MainConsole.Instance.Commands.AddCommand("UserService", false, "reset user password", | 84 | "create user [<first> [<last> [<pass> [<email>]]]]", |
85 | "reset user password [<first> [<last> [<password>]]]", | 85 | "Create a new user", HandleCreateUser); |
86 | "Reset a user password", HandleResetUserPassword); | 86 | MainConsole.Instance.Commands.AddCommand("UserService", false, "reset user password", |
87 | "reset user password [<first> [<last> [<password>]]]", | ||
88 | "Reset a user password", HandleResetUserPassword); | ||
89 | } | ||
87 | 90 | ||
88 | } | 91 | } |
89 | 92 | ||