aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2009-05-28 19:19:10 +0000
committerAdam Frisby2009-05-28 19:19:10 +0000
commit2feb218817180a307a4b4e468d7e2f1525ec916f (patch)
treedd740c6fc2bb2dd4863a2717d0ebdc183b8f0204
parent* Oops. Forgot Initialise needs tweaking between IRegionModule and ISharedReg... (diff)
downloadopensim-SC_OLD-2feb218817180a307a4b4e468d7e2f1525ec916f.zip
opensim-SC_OLD-2feb218817180a307a4b4e468d7e2f1525ec916f.tar.gz
opensim-SC_OLD-2feb218817180a307a4b4e468d7e2f1525ec916f.tar.bz2
opensim-SC_OLD-2feb218817180a307a4b4e468d7e2f1525ec916f.tar.xz
* Makes grid announcements more prominent.
-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;