aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-16 04:31:52 +0000
committerMelanie Thielker2008-11-16 04:31:52 +0000
commit3de41ea3777487ee4cc25a4185de1bc63950ba6a (patch)
tree17ebfa5dedd4b9490e8f21cbf6e54436f10b27a1 /OpenSim/Region/Environment
parentUpdate svn properties, minor formatting cleanup. (diff)
downloadopensim-SC_OLD-3de41ea3777487ee4cc25a4185de1bc63950ba6a.zip
opensim-SC_OLD-3de41ea3777487ee4cc25a4185de1bc63950ba6a.tar.gz
opensim-SC_OLD-3de41ea3777487ee4cc25a4185de1bc63950ba6a.tar.bz2
opensim-SC_OLD-3de41ea3777487ee4cc25a4185de1bc63950ba6a.tar.xz
Reinstate the IM sending from scripts and from autoreturn
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 7485134..e19857c 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -41,6 +41,7 @@ using OpenSim.Framework.Communications;
41using OpenSim.Framework.Communications.Cache; 41using OpenSim.Framework.Communications.Cache;
42using OpenSim.Framework.Servers; 42using OpenSim.Framework.Servers;
43using OpenSim.Region.Environment.Interfaces; 43using OpenSim.Region.Environment.Interfaces;
44using OpenSim.Region.Interfaces;
44using OpenSim.Region.Environment.Modules.World.Archiver; 45using OpenSim.Region.Environment.Modules.World.Archiver;
45using OpenSim.Region.Environment.Modules.World.Serialiser; 46using OpenSim.Region.Environment.Modules.World.Serialiser;
46using OpenSim.Region.Environment.Modules.World.Terrain; 47using OpenSim.Region.Environment.Modules.World.Terrain;
@@ -993,8 +994,9 @@ namespace OpenSim.Region.Environment.Scenes
993 else 994 else
994 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); 995 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);
995 996
996// TODO: Send IM 997 IMessageTransferModule tr = RequestModuleInterface<IMessageTransferModule>();
997// TriggerGridInstantMessage(msg); 998 if (tr != null)
999 tr.SendInstantMessage(msg, delegate(bool success) {} );
998 } 1000 }
999 } 1001 }
1000 1002