diff options
author | UbitUmarov | 2016-07-02 13:53:17 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-02 13:53:17 +0100 |
commit | a6ee06d630f7dfb896129d24b8443cb2d84608f3 (patch) | |
tree | 60f2fdec095166a84ffe8dedaba40e16ef787933 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | revert to previus GroupProfileRequest because floatsam groups server seems t... (diff) | |
download | opensim-SC-a6ee06d630f7dfb896129d24b8443cb2d84608f3.zip opensim-SC-a6ee06d630f7dfb896129d24b8443cb2d84608f3.tar.gz opensim-SC-a6ee06d630f7dfb896129d24b8443cb2d84608f3.tar.bz2 opensim-SC-a6ee06d630f7dfb896129d24b8443cb2d84608f3.tar.xz |
dont send bad profiles to viewer
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 1dfd5b4..4a48a80 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -11135,6 +11135,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
11135 | GroupProfileData d = m_GroupsModule.GroupProfileRequest(this, | 11135 | GroupProfileData d = m_GroupsModule.GroupProfileRequest(this, |
11136 | groupProfileRequest.GroupData.GroupID); | 11136 | groupProfileRequest.GroupData.GroupID); |
11137 | 11137 | ||
11138 | if(d.GroupID == UUID.Zero) // don't send broken data | ||
11139 | return true; | ||
11140 | |||
11138 | groupProfileReply.GroupData.GroupID = d.GroupID; | 11141 | groupProfileReply.GroupData.GroupID = d.GroupID; |
11139 | groupProfileReply.GroupData.Name = Util.StringToBytes256(d.Name); | 11142 | groupProfileReply.GroupData.Name = Util.StringToBytes256(d.Name); |
11140 | groupProfileReply.GroupData.Charter = Util.StringToBytes1024(d.Charter); | 11143 | groupProfileReply.GroupData.Charter = Util.StringToBytes1024(d.Charter); |