aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-11-03 21:44:39 +1000
committerDavid Walter Seikel2016-11-03 21:44:39 +1000
commit134f86e8d5c414409631b25b8c6f0ee45fbd8631 (patch)
tree216b89d3fb89acfb81be1e440c25c41ab09fa96d /OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
parentMore changing to production grid. Double oops. (diff)
downloadopensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.zip
opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.gz
opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.bz2
opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.xz
Initial update to OpenSim 0.8.2.1 source code.
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
index 2c2c99c..3484387 100644
--- a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
@@ -379,15 +379,9 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
379 if (sp.IsChildAgent) 379 if (sp.IsChildAgent)
380 return; 380 return;
381 381
382 // Send message to the avatar.
383 // Channel zero only goes to the avatar 382 // Channel zero only goes to the avatar
384 // non zero channel messages only go to the attachments 383 // non zero channel messages only go to the attachments of the avatar.
385 if (channel == 0) 384 if (channel != 0)
386 {
387 m_scene.SimChatToAgent(target, Utils.StringToBytes(msg),
388 pos, name, id, false);
389 }
390 else
391 { 385 {
392 List<SceneObjectGroup> attachments = sp.GetAttachments(); 386 List<SceneObjectGroup> attachments = sp.GetAttachments();
393 if (attachments.Count == 0) 387 if (attachments.Count == 0)