aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
diff options
context:
space:
mode:
authorDiva Canto2011-12-29 12:34:57 -0800
committerDiva Canto2011-12-29 12:34:57 -0800
commit6974596e83b9029b30913e8e0ed71cbe1da46358 (patch)
tree5137abf00c4ea9cd8ec921fc401ac35f8c9719ac /OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-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 '')
-rw-r--r--OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs2
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))