diff options
-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; |