Make the IUserAccountData properly unpack the god mode data, so grid gods

work again
slimupdates
Melanie Thielker 2010-05-03 01:50:32 +02:00 committed by Melanie
parent 18f6714451
commit 7e74291176
2 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@ namespace OpenSim.Services.Connectors
public virtual UserAccount GetUserAccount(UUID scopeID, UUID userID)
{
m_log.DebugFormat("[ACCOUNTS CONNECTOR]: GetUSerAccount {0}", userID);
m_log.DebugFormat("[ACCOUNTS CONNECTOR]: GetUserAccount {0}", userID);
Dictionary<string, object> sendData = new Dictionary<string, object>();
//sendData["SCOPEID"] = scopeID.ToString();
sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString();

View File

@ -84,11 +84,11 @@ namespace OpenSim.Services.Interfaces
if (kvp.ContainsKey("ScopeID"))
UUID.TryParse(kvp["ScopeID"].ToString(), out ScopeID);
if (kvp.ContainsKey("UserLevel"))
Convert.ToInt32(kvp["UserLevel"].ToString());
UserLevel = Convert.ToInt32(kvp["UserLevel"].ToString());
if (kvp.ContainsKey("UserFlags"))
Convert.ToInt32(kvp["UserFlags"].ToString());
UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString());
if (kvp.ContainsKey("UserTitle"))
Email = kvp["UserTitle"].ToString();
UserTitle = kvp["UserTitle"].ToString();
if (kvp.ContainsKey("Created"))
Convert.ToInt32(kvp["Created"].ToString());