diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 7980de3..35b48d9 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -369,6 +369,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
369 | 369 | ||
370 | public virtual bool SendFriendsOnlineIfNeeded(IClientAPI client) | 370 | public virtual bool SendFriendsOnlineIfNeeded(IClientAPI client) |
371 | { | 371 | { |
372 | if (client == null) | ||
373 | return false; | ||
374 | |||
372 | UUID agentID = client.AgentId; | 375 | UUID agentID = client.AgentId; |
373 | 376 | ||
374 | // Check if the online friends list is needed | 377 | // Check if the online friends list is needed |