aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/UserAccounts
diff options
context:
space:
mode:
authorDiva Canto2010-04-03 12:03:34 -0700
committerDiva Canto2010-04-03 12:03:34 -0700
commit6485c576a177d521ec26df7c0a5e374e22682396 (patch)
tree48a9001e64cdea1556e172afd61d42c2ec801381 /OpenSim/Server/Handlers/UserAccounts
parentDon't append ACKs to zerocoded packets. Although this should fine in theory, ... (diff)
downloadopensim-SC_OLD-6485c576a177d521ec26df7c0a5e374e22682396.zip
opensim-SC_OLD-6485c576a177d521ec26df7c0a5e374e22682396.tar.gz
opensim-SC_OLD-6485c576a177d521ec26df7c0a5e374e22682396.tar.bz2
opensim-SC_OLD-6485c576a177d521ec26df7c0a5e374e22682396.tar.xz
* Made UserAccountService handle UserLevel, UserFlags and UserTitle appropriately.
* Removed Store service from the UserAccount handler.
Diffstat (limited to 'OpenSim/Server/Handlers/UserAccounts')
-rw-r--r--OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs13
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