aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-30 13:18:18 -0700
committerJohn Hurliman2009-10-30 13:18:18 -0700
commitcb1492aaf0aae074753d0d4f5766fa4cd1292536 (patch)
treeec741ce22898cd9c6cd6a841fe024bd44d6d0878 /OpenSim/Region
parent* Disables automatic packet splitting on AvatarGroupsReply packets. This pack... (diff)
downloadopensim-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')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
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;