diff options
author | Diva Canto | 2012-03-21 11:22:39 -0700 |
---|---|---|
committer | Diva Canto | 2012-03-21 11:22:39 -0700 |
commit | 5170cd75775eb85922783fa8afe4f8025c054189 (patch) | |
tree | 53cc94bfe18b893ceb21cb36bf107e76cff1568d /OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs | |
parent | HG Friends: reroute the status notifications to the HGFriends service, so tha... (diff) | |
download | opensim-SC-5170cd75775eb85922783fa8afe4f8025c054189.zip opensim-SC-5170cd75775eb85922783fa8afe4f8025c054189.tar.gz opensim-SC-5170cd75775eb85922783fa8afe4f8025c054189.tar.bz2 opensim-SC-5170cd75775eb85922783fa8afe4f8025c054189.tar.xz |
Updated the UserAccountsClient a little bit, plus some more sanity checks on the service connector.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs b/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs index 609dafe..6d5ce28 100644 --- a/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs +++ b/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs | |||
@@ -197,8 +197,15 @@ namespace OpenSim.Services.Connectors | |||
197 | 197 | ||
198 | Dictionary<string, object> structData = data.ToKeyValuePairs(); | 198 | Dictionary<string, object> structData = data.ToKeyValuePairs(); |
199 | 199 | ||
200 | foreach (KeyValuePair<string,object> kvp in structData) | 200 | foreach (KeyValuePair<string, object> kvp in structData) |
201 | { | ||
202 | if (kvp.Value == null) | ||
203 | { | ||
204 | m_log.DebugFormat("[ACCOUNTS CONNECTOR]: Null value for {0}", kvp.Key); | ||
205 | continue; | ||
206 | } | ||
201 | sendData[kvp.Key] = kvp.Value.ToString(); | 207 | sendData[kvp.Key] = kvp.Value.ToString(); |
208 | } | ||
202 | 209 | ||
203 | return SendAndGetBoolReply(sendData); | 210 | return SendAndGetBoolReply(sendData); |
204 | } | 211 | } |