diff options
author | Melanie | 2012-01-28 20:38:50 +0100 |
---|---|---|
committer | Melanie | 2012-01-28 20:38:50 +0100 |
commit | dac826da4ea2e1208f420a1fbf652417f858a8c1 (patch) | |
tree | 33b7d46650785ace143eb28e36c1cf56a1eda38b /OpenSim | |
parent | Make all NPCs owned by default (diff) | |
download | opensim-SC_OLD-dac826da4ea2e1208f420a1fbf652417f858a8c1.zip opensim-SC_OLD-dac826da4ea2e1208f420a1fbf652417f858a8c1.tar.gz opensim-SC_OLD-dac826da4ea2e1208f420a1fbf652417f858a8c1.tar.bz2 opensim-SC_OLD-dac826da4ea2e1208f420a1fbf652417f858a8c1.tar.xz |
Prevent an overlong description from messing up a ParcelInfoReply
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index bbaa08e..a50a61d 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -2766,7 +2766,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2766 | reply.Data.ParcelID = parcelID; | 2766 | reply.Data.ParcelID = parcelID; |
2767 | reply.Data.OwnerID = land.OwnerID; | 2767 | reply.Data.OwnerID = land.OwnerID; |
2768 | reply.Data.Name = Utils.StringToBytes(land.Name); | 2768 | reply.Data.Name = Utils.StringToBytes(land.Name); |
2769 | reply.Data.Desc = Utils.StringToBytes(land.Description); | 2769 | reply.Data.Desc = Utils.StringToBytes(land.Description.Substring(0, land.Description.Length > 254 ? 254: land.Description.Length)); |
2770 | reply.Data.ActualArea = land.Area; | 2770 | reply.Data.ActualArea = land.Area; |
2771 | reply.Data.BillableArea = land.Area; // TODO: what is this? | 2771 | reply.Data.BillableArea = land.Area; // TODO: what is this? |
2772 | 2772 | ||