diff options
author | lbsa71 | 2007-09-21 06:06:31 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-21 06:06:31 +0000 |
commit | 64f4afcb43e08d3dc2fc8f370576a67e4f96fa59 (patch) | |
tree | a96e633206a53f3e4099c896bb8a9c2848d46a28 /OpenSim/Region | |
parent | * Slowly but surely working my way towards Regionality... (diff) | |
download | opensim-SC_OLD-64f4afcb43e08d3dc2fc8f370576a67e4f96fa59.zip opensim-SC_OLD-64f4afcb43e08d3dc2fc8f370576a67e4f96fa59.tar.gz opensim-SC_OLD-64f4afcb43e08d3dc2fc8f370576a67e4f96fa59.tar.bz2 opensim-SC_OLD-64f4afcb43e08d3dc2fc8f370576a67e4f96fa59.tar.xz |
* There. I think this concludes todays work on moving stuff to Broadcast()
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ChatModule.cs | 4 |
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 | }); |