mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Add agent verification to Presence
This commit is contained in:
@@ -222,5 +222,18 @@ namespace OpenSim.Data.Null
|
||||
return true;
|
||||
}
|
||||
|
||||
public PresenceData VerifyAgent(UUID secureSessionID)
|
||||
{
|
||||
if (Instance != this)
|
||||
return Instance.VerifyAgent(secureSessionID);
|
||||
|
||||
if (m_presenceData.ContainsKey(secureSessionID))
|
||||
{
|
||||
return m_presenceData[secureSessionID];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user