mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
missed check
This commit is contained in:
@@ -15260,7 +15260,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public LSL_String llRequestUsername(LSL_Key id)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
if (!UUID.TryParse(id, out UUID key))
|
||||
if (!UUID.TryParse(id, out UUID key) || key == UUID.Zero)
|
||||
return string.Empty;
|
||||
|
||||
ScenePresence lpresence = World.GetScenePresence(key);
|
||||
|
||||
Reference in New Issue
Block a user