During login cancel, don't error out here on a null client.
parent
ff945867a3
commit
1e9cbf5c97
|
@ -369,6 +369,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
|
|
||||||
public virtual bool SendFriendsOnlineIfNeeded(IClientAPI client)
|
public virtual bool SendFriendsOnlineIfNeeded(IClientAPI client)
|
||||||
{
|
{
|
||||||
|
if (client == null)
|
||||||
|
return false;
|
||||||
|
|
||||||
UUID agentID = client.AgentId;
|
UUID agentID = client.AgentId;
|
||||||
|
|
||||||
// Check if the online friends list is needed
|
// Check if the online friends list is needed
|
||||||
|
|
Loading…
Reference in New Issue