Fixed a regression in SendAvatarGroupsReply()

0.6.8-post-fixes
John Hurliman 2009-10-30 13:18:18 -07:00
parent 5d5d0e699a
commit cb1492aaf0
1 changed files with 2 additions and 2 deletions

View File

@ -2801,9 +2801,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
AvatarGroupsReplyPacket.GroupDataBlock block = new AvatarGroupsReplyPacket.GroupDataBlock();
block.GroupPowers = m.GroupPowers;
block.AcceptNotices = m.AcceptNotices;
block.GroupTitle = Util.StringToBytes256(m.GroupTitle.Substring(0, 20));
block.GroupTitle = Util.StringToBytes256(m.GroupTitle.Length > 20 ? m.GroupTitle.Substring(0, 20) : m.GroupTitle);
block.GroupID = m.GroupID;
block.GroupName = Util.StringToBytes256(m.GroupName.Substring(0, 35));
block.GroupName = Util.StringToBytes256(m.GroupName.Length > 35 ? m.GroupName.Substring(0, 35) : m.GroupName);
block.GroupInsigniaID = m.GroupPicture;
p.GroupData[i] = block;