mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Reinstate the IM sending from scripts and from autoreturn
This commit is contained in:
@@ -41,6 +41,7 @@ using OpenSim.Framework.Communications;
|
||||
using OpenSim.Framework.Communications.Cache;
|
||||
using OpenSim.Framework.Servers;
|
||||
using OpenSim.Region.Environment.Interfaces;
|
||||
using OpenSim.Region.Interfaces;
|
||||
using OpenSim.Region.Environment.Modules.World.Archiver;
|
||||
using OpenSim.Region.Environment.Modules.World.Serialiser;
|
||||
using OpenSim.Region.Environment.Modules.World.Terrain;
|
||||
@@ -993,8 +994,9 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
else
|
||||
msg.message = string.Format("Your object {0} was returned from {1} in region {2} due to parcel auto return", ret.Value.objectName, ret.Value.location.ToString(), RegionInfo.RegionName);
|
||||
|
||||
// TODO: Send IM
|
||||
// TriggerGridInstantMessage(msg);
|
||||
IMessageTransferModule tr = RequestModuleInterface<IMessageTransferModule>();
|
||||
if (tr != null)
|
||||
tr.SendInstantMessage(msg, delegate(bool success) {} );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user