diff options
author | Diva Canto | 2011-12-29 12:34:57 -0800 |
---|---|---|
committer | Diva Canto | 2011-12-29 12:34:57 -0800 |
commit | 6974596e83b9029b30913e8e0ed71cbe1da46358 (patch) | |
tree | 5137abf00c4ea9cd8ec921fc401ac35f8c9719ac /OpenSim/Server/Handlers | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-6974596e83b9029b30913e8e0ed71cbe1da46358.zip opensim-SC-6974596e83b9029b30913e8e0ed71cbe1da46358.tar.gz opensim-SC-6974596e83b9029b30913e8e0ed71cbe1da46358.tar.bz2 opensim-SC-6974596e83b9029b30913e8e0ed71cbe1da46358.tar.xz |
Fixed mix-up in UserAccount fields when passing UserAccounts remotely.
Diffstat (limited to 'OpenSim/Server/Handlers')
-rw-r--r-- | OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs index ab383ef..3fd69ae 100644 --- a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs +++ b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs | |||
@@ -231,7 +231,7 @@ namespace OpenSim.Server.Handlers.UserAccounts | |||
231 | 231 | ||
232 | int userLevel = 0; | 232 | int userLevel = 0; |
233 | if (request.ContainsKey("UserLevel") && int.TryParse(request["UserLevel"].ToString(), out userLevel)) | 233 | if (request.ContainsKey("UserLevel") && int.TryParse(request["UserLevel"].ToString(), out userLevel)) |
234 | existingAccount.UserFlags = userLevel; | 234 | existingAccount.UserLevel = userLevel; |
235 | 235 | ||
236 | int userFlags = 0; | 236 | int userFlags = 0; |
237 | if (request.ContainsKey("UserFlags") && int.TryParse(request["UserFlags"].ToString(), out userFlags)) | 237 | if (request.ContainsKey("UserFlags") && int.TryParse(request["UserFlags"].ToString(), out userFlags)) |