From 3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 18 Sep 2007 23:37:43 +0000 Subject: * Moved SendLogoutPacket back to IClientAPI. --- OpenSim/Region/ClientStack/PacketServer.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'OpenSim/Region/ClientStack/PacketServer.cs') diff --git a/OpenSim/Region/ClientStack/PacketServer.cs b/OpenSim/Region/ClientStack/PacketServer.cs index 28f25bd..3b26a59 100644 --- a/OpenSim/Region/ClientStack/PacketServer.cs +++ b/OpenSim/Region/ClientStack/PacketServer.cs @@ -149,13 +149,7 @@ namespace OpenSim.Region.ClientStack public void LogoutHandler(IClientAPI client) { - LogoutReplyPacket logReply = new LogoutReplyPacket(); - logReply.AgentData.AgentID = client.AgentId; - logReply.AgentData.SessionID = client.SessionId; - logReply.InventoryData = new LogoutReplyPacket.InventoryDataBlock[1]; - logReply.InventoryData[0] = new LogoutReplyPacket.InventoryDataBlock(); - logReply.InventoryData[0].ItemID = LLUUID.Zero; - client.OutPacket(logReply); + client.SendLogoutPacket(); CloseClient( client ); } -- cgit v1.1