diff options
small clean up.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index e73b2e2..a6cb281 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -97,19 +97,10 @@ namespace OpenSim.Region.ClientStack | |||
97 | #region Scene/Avatar | 97 | #region Scene/Avatar |
98 | case PacketType.AvatarPropertiesRequest: | 98 | case PacketType.AvatarPropertiesRequest: |
99 | AvatarPropertiesRequestPacket avatarProperties = (AvatarPropertiesRequestPacket)Pack; | 99 | AvatarPropertiesRequestPacket avatarProperties = (AvatarPropertiesRequestPacket)Pack; |
100 | AvatarPropertiesReplyPacket avatarReply = new AvatarPropertiesReplyPacket(); | 100 | if (OnRequestAvatarProperties != null) |
101 | avatarReply.AgentData.AgentID = this.AgentID; | 101 | { |
102 | avatarReply.AgentData.AvatarID = avatarProperties.AgentData.AvatarID; | 102 | OnRequestAvatarProperties(this, avatarProperties.AgentData.AvatarID); |
103 | avatarReply.PropertiesData.AboutText = Helpers.StringToField( "OpenSim crash test dummy"); | 103 | } |
104 | avatarReply.PropertiesData.BornOn = Helpers.StringToField("Before now"); | ||
105 | avatarReply.PropertiesData.CharterMember = new byte[0]; | ||
106 | avatarReply.PropertiesData.FLAboutText = Helpers.StringToField("First life? What is one of those? OpenSim is my life!"); | ||
107 | avatarReply.PropertiesData.Flags = 0; | ||
108 | avatarReply.PropertiesData.FLImageID = LLUUID.Zero; | ||
109 | avatarReply.PropertiesData.ImageID = LLUUID.Zero; | ||
110 | avatarReply.PropertiesData.ProfileURL = new byte[0]; | ||
111 | avatarReply.PropertiesData.PartnerID = new LLUUID("11111111-1111-0000-0000-000100bba000"); | ||
112 | OutPacket(avatarReply); | ||
113 | break; | 104 | break; |
114 | case PacketType.ChatFromViewer: | 105 | case PacketType.ChatFromViewer: |
115 | ChatFromViewerPacket inchatpack = (ChatFromViewerPacket)Pack; | 106 | ChatFromViewerPacket inchatpack = (ChatFromViewerPacket)Pack; |