diff options
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 36d16eb..e9eebb1 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -6588,7 +6588,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6588 | 6588 | ||
6589 | private bool HandlerRezRestoreToWorld(IClientAPI sender, Packet Pack) | 6589 | private bool HandlerRezRestoreToWorld(IClientAPI sender, Packet Pack) |
6590 | { | 6590 | { |
6591 | return false; | 6591 | RezRestoreToWorldPacket restore = (RezRestoreToWorldPacket)Pack; |
6592 | |||
6593 | #region Packet Session and User Check | ||
6594 | if (m_checkPackets) | ||
6595 | { | ||
6596 | if (restore.AgentData.SessionID != SessionId || | ||
6597 | restore.AgentData.AgentID != AgentId) | ||
6598 | return true; | ||
6599 | } | ||
6600 | #endregion | ||
6601 | |||
6602 | RezRestoreToWorld handlerRezRestoreToWorld = OnRezRestoreToWorld; | ||
6603 | if (handlerRezRestoreToWorld != null) | ||
6604 | handlerRezRestoreToWorld(this, restore.InventoryData.ItemID); | ||
6605 | |||
6606 | return true; | ||
6592 | } | 6607 | } |
6593 | 6608 | ||
6594 | private bool HandlerModifyLand(IClientAPI sender, Packet Pack) | 6609 | private bool HandlerModifyLand(IClientAPI sender, Packet Pack) |