From f85b23edea3af2880086d096c85838cf48dd01a4 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Sat, 8 Dec 2012 17:33:03 -0500 Subject: Add agent verification to Presence --- OpenSim/Data/Null/NullPresenceData.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'OpenSim/Data/Null') diff --git a/OpenSim/Data/Null/NullPresenceData.cs b/OpenSim/Data/Null/NullPresenceData.cs index c06c223..eafde95 100644 --- a/OpenSim/Data/Null/NullPresenceData.cs +++ b/OpenSim/Data/Null/NullPresenceData.cs @@ -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; + } + } } -- cgit v1.1