diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 37ad554..8eff58e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2645,9 +2645,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2645 | msg.Position = Vector3.Zero;// new Vector3(m_host.AbsolutePosition); | 2645 | msg.Position = Vector3.Zero;// new Vector3(m_host.AbsolutePosition); |
2646 | msg.RegionID = World.RegionInfo.RegionID.Guid;//RegionID.Guid; | 2646 | msg.RegionID = World.RegionInfo.RegionID.Guid;//RegionID.Guid; |
2647 | msg.binaryBucket = new byte[0];// binaryBucket; | 2647 | msg.binaryBucket = new byte[0];// binaryBucket; |
2648 | // TODO: Send IM | 2648 | |
2649 | // World.TriggerGridInstantMessage(msg); | 2649 | IMessageTransferModule tr = World.RequestModuleInterface<IMessageTransferModule>(); |
2650 | // ScriptSleep(2000); | 2650 | |
2651 | if (tr != null) | ||
2652 | { | ||
2653 | tr.SendInstantMessage(msg, delegate(bool success) {} ); | ||
2654 | } | ||
2655 | ScriptSleep(2000); | ||
2651 | } | 2656 | } |
2652 | 2657 | ||
2653 | public void llEmail(string address, string subject, string message) | 2658 | public void llEmail(string address, string subject, string message) |