aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs b/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs
index 0712ee0..9f59955 100644
--- a/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs
+++ b/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs
@@ -7,6 +7,8 @@ using System.Text;
7using log4net; 7using log4net;
8using Nini.Config; 8using Nini.Config;
9using Nwc.XmlRpc; 9using Nwc.XmlRpc;
10using OpenMetaverse;
11using OpenSim.Framework;
10using OpenSim.Framework.Communications; 12using OpenSim.Framework.Communications;
11using OpenSim.Region.Framework.Interfaces; 13using OpenSim.Region.Framework.Interfaces;
12using OpenSim.Region.Framework.Scenes; 14using OpenSim.Region.Framework.Scenes;
@@ -100,6 +102,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
100 } 102 }
101 103
102 string message = (string)requestData["message"]; 104 string message = (string)requestData["message"];
105 string user = (string)requestData["user"];
103 m_log.InfoFormat("[RADMIN]: Broadcasting: {0}", message); 106 m_log.InfoFormat("[RADMIN]: Broadcasting: {0}", message);
104 107
105 lock(m_scenes) 108 lock(m_scenes)
@@ -107,7 +110,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
107 { 110 {
108 IDialogModule dialogModule = scene.RequestModuleInterface<IDialogModule>(); 111 IDialogModule dialogModule = scene.RequestModuleInterface<IDialogModule>();
109 if (dialogModule != null) 112 if (dialogModule != null)
110 dialogModule.SendGeneralAlert(message); 113 dialogModule.SendNotificationToUsersInEstate(UUID.Random(), user, message);
111 } 114 }
112 115
113 responseData["accepted"] = true; 116 responseData["accepted"] = true;