mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
When sending an LLUDP MoneyBalanceReply message, fill out the transaction item description even though there is none.
This is to deal with a problem in libomv where calling ToBytes() without this crashes because of an ItemDescription.Lnegth dereference.
This commit is contained in:
@@ -1469,6 +1469,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
money.MoneyData.TransactionSuccess = success;
|
||||
money.MoneyData.Description = description;
|
||||
money.MoneyData.MoneyBalance = balance;
|
||||
money.TransactionInfo.ItemDescription = Util.StringToBytes256("NONE");
|
||||
OutPacket(money, ThrottleOutPacketType.Task);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user