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

work again
avinationmerge
Melanie Thielker 2010-05-03 01:50:32 +02:00
parent 0fa57cac3f
commit 175f3f992a
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) 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>(); Dictionary<string, object> sendData = new Dictionary<string, object>();
//sendData["SCOPEID"] = scopeID.ToString(); //sendData["SCOPEID"] = scopeID.ToString();
sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString(); sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString();

View File

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