diff options
author | Dr Scofield | 2008-10-21 13:34:43 +0000 |
---|---|---|
committer | Dr Scofield | 2008-10-21 13:34:43 +0000 |
commit | 4218744a26ed096c0f0096a4ff1b627ca27aadf5 (patch) | |
tree | 51184ccdc00514c520ee2bfd8d33fe3a9ee58414 /OpenSim/Region/Environment/Modules/Scripting | |
parent | fixes #2445 & #2449. interim fix that will make listeners work (diff) | |
download | opensim-SC_OLD-4218744a26ed096c0f0096a4ff1b627ca27aadf5.zip opensim-SC_OLD-4218744a26ed096c0f0096a4ff1b627ca27aadf5.tar.gz opensim-SC_OLD-4218744a26ed096c0f0096a4ff1b627ca27aadf5.tar.bz2 opensim-SC_OLD-4218744a26ed096c0f0096a4ff1b627ca27aadf5.tar.xz |
fixing real cause of #2445 & #2449: Position was <0, 0, 0> for
OSChatMessage coming from client.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Scripting')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs index b7d9321..99e3177 100644 --- a/OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs +++ b/OpenSim/Region/Environment/Modules/Scripting/WorldComm/WorldCommModule.cs | |||
@@ -34,8 +34,8 @@ using OpenSim.Framework; | |||
34 | using OpenSim.Region.Environment.Interfaces; | 34 | using OpenSim.Region.Environment.Interfaces; |
35 | using OpenSim.Region.Environment.Scenes; | 35 | using OpenSim.Region.Environment.Scenes; |
36 | 36 | ||
37 | using log4net; | 37 | // using log4net; |
38 | using System.Reflection; | 38 | // using System.Reflection; |
39 | 39 | ||
40 | 40 | ||
41 | /***************************************************** | 41 | /***************************************************** |
@@ -336,9 +336,9 @@ namespace OpenSim.Region.Environment.Modules.Scripting.WorldComm | |||
336 | private void DeliverClientMessage(Object sender, OSChatMessage e) | 336 | private void DeliverClientMessage(Object sender, OSChatMessage e) |
337 | { | 337 | { |
338 | if (null != e.Sender) | 338 | if (null != e.Sender) |
339 | DeliverMessage(e.Type, e.Channel, e.Sender.Name, e.Sender.AgentId, e.Message); // , e.Position); | 339 | DeliverMessage(e.Type, e.Channel, e.Sender.Name, e.Sender.AgentId, e.Message, e.Position); |
340 | else | 340 | else |
341 | DeliverMessage(e.Type, e.Channel, e.From, UUID.Zero, e.Message); // , e.Position); | 341 | DeliverMessage(e.Type, e.Channel, e.From, UUID.Zero, e.Message, e.Position); |
342 | } | 342 | } |
343 | 343 | ||
344 | public Object[] GetSerializationData(UUID itemID) | 344 | public Object[] GetSerializationData(UUID itemID) |