Catch zero UUIDs in LSL and shout as an error. Also catch attempts to send IM

to UUID.Zero because it ties up XMLRPC handlers needlessly.
This commit is contained in:
Melanie
2012-09-09 16:30:01 +02:00
parent d734c1985c
commit 0556bbefdd
2 changed files with 4 additions and 1 deletions

View File

@@ -137,6 +137,9 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
{
UUID toAgentID = new UUID(im.toAgentID);
if (toAgentID == UUID.Zero)
return;
// Try root avatar only first
foreach (Scene scene in m_Scenes)
{