aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorMelanie Thielker2010-05-03 01:50:32 +0200
committerMelanie2010-05-02 23:36:00 +0100
commit7e7429117614b425512d67c9d5696a69248d0536 (patch)
tree99e8bd057763364bd4997f9acebca0dcc8791660 /OpenSim/Services
parentModify README.txt to trigger new build (diff)
downloadopensim-SC_OLD-7e7429117614b425512d67c9d5696a69248d0536.zip
opensim-SC_OLD-7e7429117614b425512d67c9d5696a69248d0536.tar.gz
opensim-SC_OLD-7e7429117614b425512d67c9d5696a69248d0536.tar.bz2
opensim-SC_OLD-7e7429117614b425512d67c9d5696a69248d0536.tar.xz
Make the IUserAccountData properly unpack the god mode data, so grid gods
work again
Diffstat (limited to 'OpenSim/Services')
-rw-r--r--OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs2
-rw-r--r--OpenSim/Services/Interfaces/IUserAccountService.cs6
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs b/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs
index 1527db2..38c191a 100644
--- a/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs
+++ b/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs
@@ -113,7 +113,7 @@ namespace OpenSim.Services.Connectors
113 113
114 public virtual UserAccount GetUserAccount(UUID scopeID, UUID userID) 114 public virtual UserAccount GetUserAccount(UUID scopeID, UUID userID)
115 { 115 {
116 m_log.DebugFormat("[ACCOUNTS CONNECTOR]: GetUSerAccount {0}", userID); 116 m_log.DebugFormat("[ACCOUNTS CONNECTOR]: GetUserAccount {0}", userID);
117 Dictionary<string, object> sendData = new Dictionary<string, object>(); 117 Dictionary<string, object> sendData = new Dictionary<string, object>();
118 //sendData["SCOPEID"] = scopeID.ToString(); 118 //sendData["SCOPEID"] = scopeID.ToString();
119 sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString(); 119 sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString();
diff --git a/OpenSim/Services/Interfaces/IUserAccountService.cs b/OpenSim/Services/Interfaces/IUserAccountService.cs
index befd14e..e316731 100644
--- a/OpenSim/Services/Interfaces/IUserAccountService.cs
+++ b/OpenSim/Services/Interfaces/IUserAccountService.cs
@@ -84,11 +84,11 @@ namespace OpenSim.Services.Interfaces
84 if (kvp.ContainsKey("ScopeID")) 84 if (kvp.ContainsKey("ScopeID"))
85 UUID.TryParse(kvp["ScopeID"].ToString(), out ScopeID); 85 UUID.TryParse(kvp["ScopeID"].ToString(), out ScopeID);
86 if (kvp.ContainsKey("UserLevel")) 86 if (kvp.ContainsKey("UserLevel"))
87 Convert.ToInt32(kvp["UserLevel"].ToString()); 87 UserLevel = Convert.ToInt32(kvp["UserLevel"].ToString());
88 if (kvp.ContainsKey("UserFlags")) 88 if (kvp.ContainsKey("UserFlags"))
89 Convert.ToInt32(kvp["UserFlags"].ToString()); 89 UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString());
90 if (kvp.ContainsKey("UserTitle")) 90 if (kvp.ContainsKey("UserTitle"))
91 Email = kvp["UserTitle"].ToString(); 91 UserTitle = kvp["UserTitle"].ToString();
92 92
93 if (kvp.ContainsKey("Created")) 93 if (kvp.ContainsKey("Created"))
94 Convert.ToInt32(kvp["Created"].ToString()); 94 Convert.ToInt32(kvp["Created"].ToString());