aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorlbsa712007-09-21 06:06:31 +0000
committerlbsa712007-09-21 06:06:31 +0000
commit64f4afcb43e08d3dc2fc8f370576a67e4f96fa59 (patch)
treea96e633206a53f3e4099c896bb8a9c2848d46a28 /OpenSim
parent* Slowly but surely working my way towards Regionality... (diff)
downloadopensim-SC-64f4afcb43e08d3dc2fc8f370576a67e4f96fa59.zip
opensim-SC-64f4afcb43e08d3dc2fc8f370576a67e4f96fa59.tar.gz
opensim-SC-64f4afcb43e08d3dc2fc8f370576a67e4f96fa59.tar.bz2
opensim-SC-64f4afcb43e08d3dc2fc8f370576a67e4f96fa59.tar.xz
* There. I think this concludes todays work on moving stuff to Broadcast()
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Modules/ChatModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs
index dfbb2bb..1c7b806 100644
--- a/OpenSim/Region/Environment/Modules/ChatModule.cs
+++ b/OpenSim/Region/Environment/Modules/ChatModule.cs
@@ -122,9 +122,9 @@ namespace OpenSim.Region.Environment.Modules
122 if (inputLine.Contains(m_channel)) 122 if (inputLine.Contains(m_channel))
123 { 123 {
124 string mess = inputLine.Substring(inputLine.IndexOf(m_channel)); 124 string mess = inputLine.Substring(inputLine.IndexOf(m_channel));
125 m_scene.ForEachScenePresence(delegate(ScenePresence presence) 125 m_scene.Broadcast(delegate(IClientAPI client)
126 { 126 {
127 presence.ControllingClient.SendChatMessage( 127 client.SendChatMessage(
128 Helpers.StringToField(mess), 255, pos, "IRC:", 128 Helpers.StringToField(mess), 255, pos, "IRC:",
129 LLUUID.Zero); 129 LLUUID.Zero);
130 }); 130 });