aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Dialog
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Dialog')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
index e036c73..14a05ae 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
@@ -78,6 +78,21 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Dialog
78 break; 78 break;
79 } 79 }
80 } 80 }
81 }
82
83 /// <summary>
84 /// Send an alert messages to all avatars in this scene.
85 /// </summary>
86 /// <param name="message"></param>
87 public void SendGeneralAlert(string message)
88 {
89 List<ScenePresence> presenceList = m_scene.GetScenePresences();
90
91 foreach (ScenePresence presence in presenceList)
92 {
93 if (!presence.IsChildAgent)
94 presence.ControllingClient.SendAlertMessage(message);
95 }
81 } 96 }
82 } 97 }
83} 98}