From 27e557eb9857ccc34ae3588c4e0ff43bd5e6644a Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 16 Nov 2008 00:47:21 +0000 Subject: Introduces the message transfer module. It splits the transfer mechanics off the IM module and makes it into a module of it's own, which can be used by all other modules. Removes some ugly hacks. Refer to the IM module to see how it's used. Also fixes the persistence issue (Mantis #2598) --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index ea82a37..3aa3fea 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -4023,6 +4023,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP break; case PacketType.ImprovedInstantMessage: ImprovedInstantMessagePacket msgpack = (ImprovedInstantMessagePacket)Pack; + Console.WriteLine(msgpack.ToString()); string IMfromName = Util.FieldToString(msgpack.MessageBlock.FromAgentName); string IMmessage = Utils.BytesToString(msgpack.MessageBlock.Message); handlerInstantMessage = OnInstantMessage; @@ -6171,7 +6172,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP case PacketType.ObjectBuy: ObjectBuyPacket objectBuyPacket = (ObjectBuyPacket)Pack; handlerObjectBuy = OnObjectBuy; - Console.WriteLine(objectBuyPacket.ToString()); + if (handlerObjectBuy != null) { foreach (ObjectBuyPacket.ObjectDataBlock d -- cgit v1.1