diff options
author | Melanie | 2010-04-04 02:24:52 +0100 |
---|---|---|
committer | Melanie | 2010-04-04 02:24:52 +0100 |
commit | dc58c985e8850d54b09f47c7938f255cca476167 (patch) | |
tree | 49c7436e3ed86cfec2bc50127b2f7afbd1722200 /OpenSim/Server/Handlers/UserAccounts | |
parent | Patch from mcortez. This appears to be a huge change to the groups module (diff) | |
parent | * Guard against null in last commit (diff) | |
download | opensim-SC-dc58c985e8850d54b09f47c7938f255cca476167.zip opensim-SC-dc58c985e8850d54b09f47c7938f255cca476167.tar.gz opensim-SC-dc58c985e8850d54b09f47c7938f255cca476167.tar.bz2 opensim-SC-dc58c985e8850d54b09f47c7938f255cca476167.tar.xz |
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs index 6a82165..a1d4871 100644 --- a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs +++ b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | |||
@@ -176,18 +176,7 @@ namespace OpenSim.Server.Handlers.UserAccounts | |||
176 | 176 | ||
177 | byte[] StoreAccount(Dictionary<string, object> request) | 177 | byte[] StoreAccount(Dictionary<string, object> request) |
178 | { | 178 | { |
179 | //if (!request.ContainsKey("account")) | 179 | // No can do. No changing user accounts from remote sims |
180 | // return FailureResult(); | ||
181 | //if (request["account"] == null) | ||
182 | // return FailureResult(); | ||
183 | //if (!(request["account"] is Dictionary<string, object>)) | ||
184 | // return FailureResult(); | ||
185 | |||
186 | UserAccount account = new UserAccount(request); | ||
187 | |||
188 | if (m_UserAccountService.StoreUserAccount(account)) | ||
189 | return SuccessResult(); | ||
190 | |||
191 | return FailureResult(); | 180 | return FailureResult(); |
192 | } | 181 | } |
193 | 182 | ||