diff options
author | Melanie | 2009-12-23 21:22:19 +0000 |
---|---|---|
committer | Melanie | 2009-12-23 21:22:19 +0000 |
commit | 6eecbc95e41aa75259e3b27426878c2c191832d8 (patch) | |
tree | bca7dda2195a83462d9fa04a3442b4e993334b44 /OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-6eecbc95e41aa75259e3b27426878c2c191832d8.zip opensim-SC-6eecbc95e41aa75259e3b27426878c2c191832d8.tar.gz opensim-SC-6eecbc95e41aa75259e3b27426878c2c191832d8.tar.bz2 opensim-SC-6eecbc95e41aa75259e3b27426878c2c191832d8.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs index 143c454..9596d13 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |||
@@ -384,6 +384,15 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
384 | m_rootScene.SimChat(msg, ChatTypeEnum.Say, sop.AbsolutePosition, sop.Name, sop.UUID, false); | 384 | m_rootScene.SimChat(msg, ChatTypeEnum.Say, sop.AbsolutePosition, sop.Name, sop.UUID, false); |
385 | } | 385 | } |
386 | 386 | ||
387 | public void Say(string msg,int channel) | ||
388 | { | ||
389 | if (!CanEdit()) | ||
390 | return; | ||
391 | |||
392 | SceneObjectPart sop = GetSOP(); | ||
393 | m_rootScene.SimChat(Utils.StringToBytes(msg), ChatTypeEnum.Say,channel, sop.AbsolutePosition, sop.Name, sop.UUID, false); | ||
394 | } | ||
395 | |||
387 | #endregion | 396 | #endregion |
388 | 397 | ||
389 | 398 | ||