From 2feb218817180a307a4b4e468d7e2f1525ec916f Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 28 May 2009 19:19:10 +0000 Subject: [PATCH] * Makes grid announcements more prominent. --- OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs b/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs index 0712ee05a3..9f59955337 100644 --- a/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs +++ b/OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs @@ -7,6 +7,8 @@ using System.Text; using log4net; using Nini.Config; using Nwc.XmlRpc; +using OpenMetaverse; +using OpenSim.Framework; using OpenSim.Framework.Communications; using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Scenes; @@ -100,6 +102,7 @@ namespace OpenSim.Region.CoreModules.InterGrid } string message = (string)requestData["message"]; + string user = (string)requestData["user"]; m_log.InfoFormat("[RADMIN]: Broadcasting: {0}", message); lock(m_scenes) @@ -107,7 +110,7 @@ namespace OpenSim.Region.CoreModules.InterGrid { IDialogModule dialogModule = scene.RequestModuleInterface(); if (dialogModule != null) - dialogModule.SendGeneralAlert(message); + dialogModule.SendNotificationToUsersInEstate(UUID.Random(), user, message); } responseData["accepted"] = true;