diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index a1c8b22..6dd3885 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -6399,6 +6399,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6399 | ParcelGodMarkAsContentPacket ParcelGodMarkAsContent = | 6399 | ParcelGodMarkAsContentPacket ParcelGodMarkAsContent = |
6400 | (ParcelGodMarkAsContentPacket)Packet; | 6400 | (ParcelGodMarkAsContentPacket)Packet; |
6401 | 6401 | ||
6402 | if(SessionId != ParcelGodMarkAsContent.AgentData.SessionID || AgentId != ParcelGodMarkAsContent.AgentData.AgentID) | ||
6403 | return false; | ||
6404 | |||
6402 | ParcelGodMark ParcelGodMarkAsContentHandler = OnParcelGodMark; | 6405 | ParcelGodMark ParcelGodMarkAsContentHandler = OnParcelGodMark; |
6403 | if (ParcelGodMarkAsContentHandler != null) | 6406 | if (ParcelGodMarkAsContentHandler != null) |
6404 | { | 6407 | { |
@@ -6414,6 +6417,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6414 | { | 6417 | { |
6415 | FreezeUserPacket FreezeUser = (FreezeUserPacket)Packet; | 6418 | FreezeUserPacket FreezeUser = (FreezeUserPacket)Packet; |
6416 | 6419 | ||
6420 | if(SessionId != FreezeUser.AgentData.SessionID || AgentId != FreezeUser.AgentData.AgentID) | ||
6421 | return false; | ||
6422 | |||
6417 | FreezeUserUpdate FreezeUserHandler = OnParcelFreezeUser; | 6423 | FreezeUserUpdate FreezeUserHandler = OnParcelFreezeUser; |
6418 | if (FreezeUserHandler != null) | 6424 | if (FreezeUserHandler != null) |
6419 | { | 6425 | { |
@@ -6431,6 +6437,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6431 | EjectUserPacket EjectUser = | 6437 | EjectUserPacket EjectUser = |
6432 | (EjectUserPacket)Packet; | 6438 | (EjectUserPacket)Packet; |
6433 | 6439 | ||
6440 | if(SessionId != EjectUser.AgentData.SessionID || AgentId != EjectUser.AgentData.AgentID) | ||
6441 | return false; | ||
6442 | |||
6434 | EjectUserUpdate EjectUserHandler = OnParcelEjectUser; | 6443 | EjectUserUpdate EjectUserHandler = OnParcelEjectUser; |
6435 | if (EjectUserHandler != null) | 6444 | if (EjectUserHandler != null) |
6436 | { | 6445 | { |
@@ -6447,8 +6456,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6447 | { | 6456 | { |
6448 | ParcelBuyPassPacket ParcelBuyPass = | 6457 | ParcelBuyPassPacket ParcelBuyPass = |
6449 | (ParcelBuyPassPacket)Packet; | 6458 | (ParcelBuyPassPacket)Packet; |
6450 | 6459 | ||
6451 | if(SessionId != ParcelBuyPass.AgentData.SessionID) | 6460 | if(SessionId != ParcelBuyPass.AgentData.SessionID || AgentId != ParcelBuyPass.AgentData.AgentID) |
6452 | return false; | 6461 | return false; |
6453 | 6462 | ||
6454 | ParcelBuyPass ParcelBuyPassHandler = OnParcelBuyPass; | 6463 | ParcelBuyPass ParcelBuyPassHandler = OnParcelBuyPass; |