aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/PacketServer.cs
diff options
context:
space:
mode:
authorlbsa712007-09-18 23:37:43 +0000
committerlbsa712007-09-18 23:37:43 +0000
commit3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc (patch)
tree360018ac8ddb994a9f6247bf1da59141913a4337 /OpenSim/Region/ClientStack/PacketServer.cs
parent* Now at least we're not creating physActors for child agents. (diff)
downloadopensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.zip
opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.gz
opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.bz2
opensim-SC-3f6b3f6b59c04dbbfe05ad43fcc9a7de24bc0ebc.tar.xz
* Moved SendLogoutPacket back to IClientAPI.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/PacketServer.cs8
1 files changed, 1 insertions, 7 deletions
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
149 149
150 public void LogoutHandler(IClientAPI client) 150 public void LogoutHandler(IClientAPI client)
151 { 151 {
152 LogoutReplyPacket logReply = new LogoutReplyPacket(); 152 client.SendLogoutPacket();
153 logReply.AgentData.AgentID = client.AgentId;
154 logReply.AgentData.SessionID = client.SessionId;
155 logReply.InventoryData = new LogoutReplyPacket.InventoryDataBlock[1];
156 logReply.InventoryData[0] = new LogoutReplyPacket.InventoryDataBlock();
157 logReply.InventoryData[0].ItemID = LLUUID.Zero;
158 client.OutPacket(logReply);
159 153
160 CloseClient( client ); 154 CloseClient( client );
161 } 155 }