* There. I think this concludes todays work on moving stuff to Broadcast()

afrisby
lbsa71 2007-09-21 06:06:31 +00:00
parent 34043cd351
commit 64f4afcb43
1 changed files with 2 additions and 2 deletions

View File

@ -122,9 +122,9 @@ namespace OpenSim.Region.Environment.Modules
if (inputLine.Contains(m_channel)) if (inputLine.Contains(m_channel))
{ {
string mess = inputLine.Substring(inputLine.IndexOf(m_channel)); string mess = inputLine.Substring(inputLine.IndexOf(m_channel));
m_scene.ForEachScenePresence(delegate(ScenePresence presence) m_scene.Broadcast(delegate(IClientAPI client)
{ {
presence.ControllingClient.SendChatMessage( client.SendChatMessage(
Helpers.StringToField(mess), 255, pos, "IRC:", Helpers.StringToField(mess), 255, pos, "IRC:",
LLUUID.Zero); LLUUID.Zero);
}); });