* Makes grid announcements more prominent.

0.6.6-post-fixes
Adam Frisby 2009-05-28 19:19:10 +00:00
parent 4b151b83a8
commit 2feb218817
1 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,8 @@ using System.Text;
using log4net; using log4net;
using Nini.Config; using Nini.Config;
using Nwc.XmlRpc; using Nwc.XmlRpc;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Framework.Communications; using OpenSim.Framework.Communications;
using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes; using OpenSim.Region.Framework.Scenes;
@ -100,6 +102,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
} }
string message = (string)requestData["message"]; string message = (string)requestData["message"];
string user = (string)requestData["user"];
m_log.InfoFormat("[RADMIN]: Broadcasting: {0}", message); m_log.InfoFormat("[RADMIN]: Broadcasting: {0}", message);
lock(m_scenes) lock(m_scenes)
@ -107,7 +110,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
{ {
IDialogModule dialogModule = scene.RequestModuleInterface<IDialogModule>(); IDialogModule dialogModule = scene.RequestModuleInterface<IDialogModule>();
if (dialogModule != null) if (dialogModule != null)
dialogModule.SendGeneralAlert(message); dialogModule.SendNotificationToUsersInEstate(UUID.Random(), user, message);
} }
responseData["accepted"] = true; responseData["accepted"] = true;