mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
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:
@@ -3420,7 +3420,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public void llInstantMessage(string user, string message)
|
||||
{
|
||||
UUID result;
|
||||
if (!UUID.TryParse(user, out result))
|
||||
if (!UUID.TryParse(user, out result) || result == UUID.Zero)
|
||||
{
|
||||
ShoutError("An invalid key was passed to llInstantMessage");
|
||||
ScriptSleep(2000);
|
||||
|
||||
Reference in New Issue
Block a user