During login cancel, don't error out here on a null client.

melanie
Melanie Thielker 2017-01-07 00:37:13 +00:00
parent ff945867a3
commit 1e9cbf5c97
1 changed files with 3 additions and 0 deletions

View File

@ -369,6 +369,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
public virtual bool SendFriendsOnlineIfNeeded(IClientAPI client)
{
if (client == null)
return false;
UUID agentID = client.AgentId;
// Check if the online friends list is needed