mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
change chattype on llRegionSayTo when sending to avatar viewer only.
Thanks Royale for pointing this
This commit is contained in:
@@ -392,7 +392,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
||||
if (channel == 0)
|
||||
{
|
||||
// Channel 0 goes to viewer ONLY
|
||||
m_scene.SimChat(Utils.StringToBytes(msg), ChatTypeEnum.Broadcast, 0, pos, name, id, target, false, false);
|
||||
m_scene.SimChat(Utils.StringToBytes(msg), ChatTypeEnum.Direct, 0, pos, name, id, target, false, false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user