aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers
diff options
context:
space:
mode:
authorDiva Canto2011-06-07 10:51:12 -0700
committerDiva Canto2011-06-07 10:51:12 -0700
commitf5d82350bb622baa6f49042882e6c5cb49b24cc0 (patch)
tree1a81ac14685a3b826467a2f6c96a9738b9046c42 /OpenSim/Server/Handlers
parentMore on the hunt for the slow down on HGFriendsModule. - Don't requests the o... (diff)
downloadopensim-SC_OLD-f5d82350bb622baa6f49042882e6c5cb49b24cc0.zip
opensim-SC_OLD-f5d82350bb622baa6f49042882e6c5cb49b24cc0.tar.gz
opensim-SC_OLD-f5d82350bb622baa6f49042882e6c5cb49b24cc0.tar.bz2
opensim-SC_OLD-f5d82350bb622baa6f49042882e6c5cb49b24cc0.tar.xz
This fixes the crash reported in http://opensimulator.org/mantis/view.php?id=5529 related to sending IMs to foreign friends who are offline. Hopefully.
Diffstat (limited to 'OpenSim/Server/Handlers')
-rw-r--r--OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs
index 9961164..2022d8a 100644
--- a/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs
+++ b/OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs
@@ -268,18 +268,18 @@ namespace OpenSim.Server.Handlers.Hypergrid
268 ids.Add(requestData[key].ToString()); 268 ids.Add(requestData[key].ToString());
269 } 269 }
270 270
271 List<UUID> online = m_HomeUsersService.GetOnlineFriends(userID, ids); 271 //List<UUID> online = m_HomeUsersService.GetOnlineFriends(userID, ids);
272 if (online.Count > 0) 272 //if (online.Count > 0)
273 { 273 //{
274 int i = 0; 274 // int i = 0;
275 foreach (UUID id in online) 275 // foreach (UUID id in online)
276 { 276 // {
277 hash["friend_" + i.ToString()] = id.ToString(); 277 // hash["friend_" + i.ToString()] = id.ToString();
278 i++; 278 // i++;
279 } 279 // }
280 } 280 //}
281 else 281 //else
282 hash["result"] = "No Friends Online"; 282 // hash["result"] = "No Friends Online";
283 } 283 }
284 284
285 XmlRpcResponse response = new XmlRpcResponse(); 285 XmlRpcResponse response = new XmlRpcResponse();