From 17f32b77736a369a309819678fc00ecff8ce875b Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 14 Nov 2011 20:33:39 +0000 Subject: [PATCH] Fix build break --- OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 74f32e7fc9..8e5de7dbdd 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs @@ -357,7 +357,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends im.offline = 0; im.fromAgentID = fromAgentID.Guid; im.fromAgentName = firstname + " " + lastname; - im.offline = (byte)((presence == null) ? 1 : 0); im.imSessionID = im.fromAgentID; im.message = FriendshipMessage(fid); @@ -583,7 +582,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends ICallingCardModule ccm = client.Scene.RequestModuleInterface(); if (ccm != null) { - ccm.CreateCallingCard(agentID, friendID, UUID.Zero); + ccm.CreateCallingCard(client.AgentId, friendID, UUID.Zero); } // Update the local cache