diff options
author | John Hurliman | 2009-10-30 13:18:18 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-30 13:18:18 -0700 |
commit | cb1492aaf0aae074753d0d4f5766fa4cd1292536 (patch) | |
tree | ec741ce22898cd9c6cd6a841fe024bd44d6d0878 /OpenSim/Region/ClientStack | |
parent | * Disables automatic packet splitting on AvatarGroupsReply packets. This pack... (diff) | |
download | opensim-SC-cb1492aaf0aae074753d0d4f5766fa4cd1292536.zip opensim-SC-cb1492aaf0aae074753d0d4f5766fa4cd1292536.tar.gz opensim-SC-cb1492aaf0aae074753d0d4f5766fa4cd1292536.tar.bz2 opensim-SC-cb1492aaf0aae074753d0d4f5766fa4cd1292536.tar.xz |
Fixed a regression in SendAvatarGroupsReply()
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index f33d2fa..e513249 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -2801,9 +2801,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2801 | AvatarGroupsReplyPacket.GroupDataBlock block = new AvatarGroupsReplyPacket.GroupDataBlock(); | 2801 | AvatarGroupsReplyPacket.GroupDataBlock block = new AvatarGroupsReplyPacket.GroupDataBlock(); |
2802 | block.GroupPowers = m.GroupPowers; | 2802 | block.GroupPowers = m.GroupPowers; |
2803 | block.AcceptNotices = m.AcceptNotices; | 2803 | block.AcceptNotices = m.AcceptNotices; |
2804 | block.GroupTitle = Util.StringToBytes256(m.GroupTitle.Substring(0, 20)); | 2804 | block.GroupTitle = Util.StringToBytes256(m.GroupTitle.Length > 20 ? m.GroupTitle.Substring(0, 20) : m.GroupTitle); |
2805 | block.GroupID = m.GroupID; | 2805 | block.GroupID = m.GroupID; |
2806 | block.GroupName = Util.StringToBytes256(m.GroupName.Substring(0, 35)); | 2806 | block.GroupName = Util.StringToBytes256(m.GroupName.Length > 35 ? m.GroupName.Substring(0, 35) : m.GroupName); |
2807 | block.GroupInsigniaID = m.GroupPicture; | 2807 | block.GroupInsigniaID = m.GroupPicture; |
2808 | 2808 | ||
2809 | p.GroupData[i] = block; | 2809 | p.GroupData[i] = block; |