diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index f019a83..c20f7b2 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5168,7 +5168,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5168 | AddLocalPacketHandler(PacketType.ImprovedInstantMessage, HandlerImprovedInstantMessage, false); | 5168 | AddLocalPacketHandler(PacketType.ImprovedInstantMessage, HandlerImprovedInstantMessage, false); |
5169 | AddLocalPacketHandler(PacketType.AcceptFriendship, HandlerAcceptFriendship); | 5169 | AddLocalPacketHandler(PacketType.AcceptFriendship, HandlerAcceptFriendship); |
5170 | AddLocalPacketHandler(PacketType.DeclineFriendship, HandlerDeclineFriendship); | 5170 | AddLocalPacketHandler(PacketType.DeclineFriendship, HandlerDeclineFriendship); |
5171 | AddLocalPacketHandler(PacketType.TerminateFriendship, HandlerTerminateFrendship); | 5171 | AddLocalPacketHandler(PacketType.TerminateFriendship, HandlerTerminateFriendship); |
5172 | AddLocalPacketHandler(PacketType.RezObject, HandlerRezObject); | 5172 | AddLocalPacketHandler(PacketType.RezObject, HandlerRezObject); |
5173 | AddLocalPacketHandler(PacketType.DeRezObject, HandlerDeRezObject); | 5173 | AddLocalPacketHandler(PacketType.DeRezObject, HandlerDeRezObject); |
5174 | AddLocalPacketHandler(PacketType.ModifyLand, HandlerModifyLand); | 5174 | AddLocalPacketHandler(PacketType.ModifyLand, HandlerModifyLand); |
@@ -5891,7 +5891,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5891 | return true; | 5891 | return true; |
5892 | } | 5892 | } |
5893 | 5893 | ||
5894 | private bool HandlerTerminateFrendship(IClientAPI sender, Packet Pack) | 5894 | private bool HandlerTerminateFriendship(IClientAPI sender, Packet Pack) |
5895 | { | 5895 | { |
5896 | TerminateFriendshipPacket tfriendpack = (TerminateFriendshipPacket)Pack; | 5896 | TerminateFriendshipPacket tfriendpack = (TerminateFriendshipPacket)Pack; |
5897 | 5897 | ||
@@ -5906,13 +5906,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5906 | 5906 | ||
5907 | UUID listOwnerAgentID = tfriendpack.AgentData.AgentID; | 5907 | UUID listOwnerAgentID = tfriendpack.AgentData.AgentID; |
5908 | UUID exFriendID = tfriendpack.ExBlock.OtherID; | 5908 | UUID exFriendID = tfriendpack.ExBlock.OtherID; |
5909 | 5909 | FriendshipTermination TerminateFriendshipHandler = OnTerminateFriendship; | |
5910 | FriendshipTermination handlerTerminateFriendship = OnTerminateFriendship; | 5910 | if (TerminateFriendshipHandler != null) |
5911 | if (handlerTerminateFriendship != null) | ||
5912 | { | 5911 | { |
5913 | handlerTerminateFriendship(this, listOwnerAgentID, exFriendID); | 5912 | TerminateFriendshipHandler(this, listOwnerAgentID, exFriendID); |
5913 | return true; | ||
5914 | } | 5914 | } |
5915 | return true; | 5915 | return false; |
5916 | } | 5916 | } |
5917 | 5917 | ||
5918 | private bool HandleFindAgent(IClientAPI client, Packet Packet) | 5918 | private bool HandleFindAgent(IClientAPI client, Packet Packet) |