diff options
Diffstat (limited to 'OpenSim/Server')
-rw-r--r-- | OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs index 544ffea..b54b63e 100644 --- a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs +++ b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | |||
@@ -174,14 +174,14 @@ namespace OpenSim.Server.Handlers.UserAccounts | |||
174 | 174 | ||
175 | byte[] StoreAccount(Dictionary<string, object> request) | 175 | byte[] StoreAccount(Dictionary<string, object> request) |
176 | { | 176 | { |
177 | if (!request.ContainsKey("account")) | 177 | //if (!request.ContainsKey("account")) |
178 | return FailureResult(); | 178 | // return FailureResult(); |
179 | if (request["account"] == null) | 179 | //if (request["account"] == null) |
180 | return FailureResult(); | 180 | // return FailureResult(); |
181 | if (!(request["account"] is Dictionary<string, object>)) | 181 | //if (!(request["account"] is Dictionary<string, object>)) |
182 | return FailureResult(); | 182 | // return FailureResult(); |
183 | 183 | ||
184 | UserAccount account = new UserAccount((Dictionary<string, object>)request["account"]); | 184 | UserAccount account = new UserAccount(request); |
185 | 185 | ||
186 | if (m_UserAccountService.StoreUserAccount(account)) | 186 | if (m_UserAccountService.StoreUserAccount(account)) |
187 | return SuccessResult(); | 187 | return SuccessResult(); |