aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index c12cc69..4681230 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -4515,13 +4515,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4515 break; 4515 break;
4516 4516
4517 case PacketType.AvatarPropertiesUpdate: 4517 case PacketType.AvatarPropertiesUpdate:
4518 AvatarPropertiesUpdatePacket Packet = (AvatarPropertiesUpdatePacket)Pack; 4518 AvatarPropertiesUpdatePacket avatarProps = (AvatarPropertiesUpdatePacket)Pack;
4519 4519
4520 #region Packet Session and User Check 4520 #region Packet Session and User Check
4521 if (m_checkPackets) 4521 if (m_checkPackets)
4522 { 4522 {
4523 if (Packet.AgentData.SessionID != SessionId || 4523 if (avatarProps.AgentData.SessionID != SessionId ||
4524 Packet.AgentData.AgentID != AgentId) 4524 avatarProps.AgentData.AgentID != AgentId)
4525 break; 4525 break;
4526 } 4526 }
4527 #endregion 4527 #endregion
@@ -4529,7 +4529,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4529 handlerUpdateAvatarProperties = OnUpdateAvatarProperties; 4529 handlerUpdateAvatarProperties = OnUpdateAvatarProperties;
4530 if (handlerUpdateAvatarProperties != null) 4530 if (handlerUpdateAvatarProperties != null)
4531 { 4531 {
4532 AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData; 4532 AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = avatarProps.PropertiesData;
4533 UserProfileData UserProfile = new UserProfileData(); 4533 UserProfileData UserProfile = new UserProfileData();
4534 UserProfile.ID = AgentId; 4534 UserProfile.ID = AgentId;
4535 UserProfile.AboutText = Utils.BytesToString(Properties.AboutText); 4535 UserProfile.AboutText = Utils.BytesToString(Properties.AboutText);