diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 84eb503..d7c1759 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1319,7 +1319,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
1319 | SendAlertToUser(user, reason, false); | 1319 | SendAlertToUser(user, reason, false); |
1320 | } | 1320 | } |
1321 | 1321 | ||
1322 | |||
1323 | public void SendGeneralAlert(string message) | 1322 | public void SendGeneralAlert(string message) |
1324 | { | 1323 | { |
1325 | foreach (ScenePresence presence in m_scenePresences.Values) | 1324 | foreach (ScenePresence presence in m_scenePresences.Values) |
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index 3fe9479..7db6927 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -150,6 +150,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
150 | ForEachCurrentScene(delegate(Scene scene) { scene.HandleAlertCommand(cmdparams); }); | 150 | ForEachCurrentScene(delegate(Scene scene) { scene.HandleAlertCommand(cmdparams); }); |
151 | } | 151 | } |
152 | 152 | ||
153 | public void SendGeneralMessage(string msg) | ||
154 | { | ||
155 | ForEachCurrentScene(delegate(Scene scene) | ||
156 | { | ||
157 | scene.SendGeneralAlert(msg); | ||
158 | }); | ||
159 | } | ||
160 | |||
153 | public bool TrySetCurrentScene(string regionName) | 161 | public bool TrySetCurrentScene(string regionName) |
154 | { | 162 | { |
155 | if ((String.Compare(regionName, "root") == 0) || (String.Compare(regionName, "..") == 0)) | 163 | if ((String.Compare(regionName, "root") == 0) || (String.Compare(regionName, "..") == 0)) |