mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
LSL compatibility: Don't throw an exception if an invalid key is passed to llInstantMessage, instead shout about it and apply the usual delay. This now matches SL.
This commit is contained in:
@@ -3249,10 +3249,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
UUID result;
|
||||
if (!UUID.TryParse(user, out result))
|
||||
{
|
||||
if (!m_debuggerSafe)
|
||||
{
|
||||
throw new Exception(String.Format("An invalid key of '{0} was passed to llInstantMessage", user));
|
||||
}
|
||||
ShoutError("An invalid key was passed to llInstantMessage");
|
||||
ScriptSleep(2000);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user