From 17f783457b8dbd182f8184ef77c72d57d7c8da8b Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 8 Jan 2009 18:50:46 +0000 Subject: * refactor: move code for sending a message to all users in a region to the DialogModule --- .../Environment/Modules/World/Estate/EstateManagementModule.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/World') diff --git a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs index 14450ae..33e354e 100644 --- a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs @@ -51,8 +51,6 @@ namespace OpenSim.Region.Environment.Modules.World.Estate private void sendDetailedEstateData(IClientAPI remote_client, UUID invoice) { - //SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant) - uint sun = 0; if (!m_scene.RegionInfo.EstateSettings.UseGlobalTime) @@ -356,7 +354,10 @@ namespace OpenSim.Region.Environment.Modules.World.Estate private void SendSimulatorBlueBoxMessage(IClientAPI remote_client, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message) { - m_scene.SendRegionMessageFromEstateTools(senderID, sessionID, senderName, message); + IDialogModule dm = m_scene.RequestModuleInterface(); + + if (dm != null) + dm.SendNotificationToUsersInRegion(senderID, senderName, message); } private void SendEstateBlueBoxMessage(IClientAPI remote_client, UUID invoice, UUID senderID, UUID sessionID, string senderName, string message) -- cgit v1.1