diff options
author | Adam Frisby | 2009-05-28 19:19:10 +0000 |
---|---|---|
committer | Adam Frisby | 2009-05-28 19:19:10 +0000 |
commit | 2feb218817180a307a4b4e468d7e2f1525ec916f (patch) | |
tree | dd740c6fc2bb2dd4863a2717d0ebdc183b8f0204 /OpenSim | |
parent | * Oops. Forgot Initialise needs tweaking between IRegionModule and ISharedReg... (diff) | |
download | opensim-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.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/InterGrid/OGSRadmin.cs | 5 |
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; | |||
7 | using log4net; | 7 | using log4net; |
8 | using Nini.Config; | 8 | using Nini.Config; |
9 | using Nwc.XmlRpc; | 9 | using Nwc.XmlRpc; |
10 | using OpenMetaverse; | ||
11 | using OpenSim.Framework; | ||
10 | using OpenSim.Framework.Communications; | 12 | using OpenSim.Framework.Communications; |
11 | using OpenSim.Region.Framework.Interfaces; | 13 | using OpenSim.Region.Framework.Interfaces; |
12 | using OpenSim.Region.Framework.Scenes; | 14 | using 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; |