mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
dont send bad profiles to viewer
This commit is contained in:
@@ -11135,6 +11135,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
GroupProfileData d = m_GroupsModule.GroupProfileRequest(this,
|
||||
groupProfileRequest.GroupData.GroupID);
|
||||
|
||||
if(d.GroupID == UUID.Zero) // don't send broken data
|
||||
return true;
|
||||
|
||||
groupProfileReply.GroupData.GroupID = d.GroupID;
|
||||
groupProfileReply.GroupData.Name = Util.StringToBytes256(d.Name);
|
||||
groupProfileReply.GroupData.Charter = Util.StringToBytes1024(d.Charter);
|
||||
|
||||
Reference in New Issue
Block a user