diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index b588a2e..6cbf1a6 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -764,16 +764,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
764 | } | 764 | } |
765 | } | 765 | } |
766 | 766 | ||
767 | public void SendGenericMessage(string method, List<string> message) | 767 | public void SendGenericMessage(string method, List<byte[]> message) |
768 | { | 768 | { |
769 | GenericMessagePacket gmp = new GenericMessagePacket(); | 769 | GenericMessagePacket gmp = new GenericMessagePacket(); |
770 | gmp.MethodData.Method = Util.StringToBytes256(method); | 770 | gmp.MethodData.Method = Util.StringToBytes256(method); |
771 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; | 771 | gmp.ParamList = new GenericMessagePacket.ParamListBlock[message.Count]; |
772 | int i = 0; | 772 | int i = 0; |
773 | foreach (string val in message) | 773 | foreach (byte[] val in message) |
774 | { | 774 | { |
775 | gmp.ParamList[i] = new GenericMessagePacket.ParamListBlock(); | 775 | gmp.ParamList[i] = new GenericMessagePacket.ParamListBlock(); |
776 | gmp.ParamList[i++].Parameter = Util.StringToBytes256(val); | 776 | gmp.ParamList[i++].Parameter = val; |
777 | } | 777 | } |
778 | OutPacket(gmp, ThrottleOutPacketType.Task); | 778 | OutPacket(gmp, ThrottleOutPacketType.Task); |
779 | } | 779 | } |