aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 43354e6..dea265e 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2506,11 +2506,11 @@ namespace OpenSim.Region.Environment.Scenes
2506 CommsManager.UserService.UpdateUserProfile(UserProfile); 2506 CommsManager.UserService.UpdateUserProfile(UserProfile);
2507 2507
2508 // FUBAR ALERT: this needs to be "Home position set." so the viewer saves a home-screenshot. 2508 // FUBAR ALERT: this needs to be "Home position set." so the viewer saves a home-screenshot.
2509 remoteClient.SendAgentAlertMessage("Home position set.",false); 2509 m_dialogModule.SendAlertToUser(remoteClient, "Home position set.");
2510 } 2510 }
2511 else 2511 else
2512 { 2512 {
2513 remoteClient.SendAgentAlertMessage("Set Home request Failed",false); 2513 m_dialogModule.SendAlertToUser(remoteClient, "Set Home request Failed.");
2514 } 2514 }
2515 } 2515 }
2516 2516
@@ -3469,7 +3469,7 @@ namespace OpenSim.Region.Environment.Scenes
3469 } 3469 }
3470 else 3470 else
3471 { 3471 {
3472 m_scenePresences[agentID].ControllingClient.SendAgentAlertMessage("Request for god powers denied", false); 3472 m_dialogModule.SendAlertToUser(agentID, "Request for god powers denied");
3473 } 3473 }
3474 } 3474 }
3475 } 3475 }
@@ -3567,8 +3567,7 @@ namespace OpenSim.Region.Environment.Scenes
3567 } 3567 }
3568 else 3568 else
3569 { 3569 {
3570 if (m_scenePresences.ContainsKey(godID)) 3570 m_dialogModule.SendAlertToUser(godID, "Kick request denied");
3571 m_scenePresences[godID].ControllingClient.SendAgentAlertMessage("Kick request denied", false);
3572 } 3571 }
3573 } 3572 }
3574 } 3573 }
@@ -4209,7 +4208,7 @@ namespace OpenSim.Region.Environment.Scenes
4209 4208
4210 if ((effectivePerms & (uint)PermissionMask.Transfer) == 0) 4209 if ((effectivePerms & (uint)PermissionMask.Transfer) == 0)
4211 { 4210 {
4212 remoteClient.SendAgentAlertMessage("This item doesn't appear to be for sale", false); 4211 m_dialogModule.SendAlertToUser(remoteClient, "This item doesn't appear to be for sale");
4213 return false; 4212 return false;
4214 } 4213 }
4215 4214
@@ -4250,7 +4249,7 @@ namespace OpenSim.Region.Environment.Scenes
4250 4249
4251 if ((perms & (uint)PermissionMask.Transfer) == 0) 4250 if ((perms & (uint)PermissionMask.Transfer) == 0)
4252 { 4251 {
4253 remoteClient.SendAgentAlertMessage("This item doesn't appear to be for sale", false); 4252 m_dialogModule.SendAlertToUser(remoteClient, "This item doesn't appear to be for sale");
4254 return false; 4253 return false;
4255 } 4254 }
4256 4255
@@ -4296,7 +4295,7 @@ namespace OpenSim.Region.Environment.Scenes
4296 } 4295 }
4297 else 4296 else
4298 { 4297 {
4299 remoteClient.SendAgentAlertMessage("Cannot buy now. Your inventory is unavailable", false); 4298 m_dialogModule.SendAlertToUser(remoteClient, "Cannot buy now. Your inventory is unavailable");
4300 return false; 4299 return false;
4301 } 4300 }
4302 break; 4301 break;
@@ -4319,7 +4318,8 @@ namespace OpenSim.Region.Environment.Scenes
4319 4318
4320 if (!okToSell) 4319 if (!okToSell)
4321 { 4320 {
4322 remoteClient.SendAgentAlertMessage("This item's inventory doesn't appear to be for sale", false); 4321 m_dialogModule.SendAlertToUser(
4322 remoteClient, "This item's inventory doesn't appear to be for sale");
4323 return false; 4323 return false;
4324 } 4324 }
4325 4325