diff options
author | BlueWall | 2012-12-08 17:33:03 -0500 |
---|---|---|
committer | BlueWall | 2012-12-08 17:33:03 -0500 |
commit | f85b23edea3af2880086d096c85838cf48dd01a4 (patch) | |
tree | 0fcd995b8dff7553cd2e7bd11b1052e86f18d5a0 /OpenSim/Data/Null/NullPresenceData.cs | |
parent | Format change (diff) | |
download | opensim-SC-f85b23edea3af2880086d096c85838cf48dd01a4.zip opensim-SC-f85b23edea3af2880086d096c85838cf48dd01a4.tar.gz opensim-SC-f85b23edea3af2880086d096c85838cf48dd01a4.tar.bz2 opensim-SC-f85b23edea3af2880086d096c85838cf48dd01a4.tar.xz |
Add agent verification to Presence
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Null/NullPresenceData.cs | 13 |
1 files changed, 13 insertions, 0 deletions
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 | |||
222 | return true; | 222 | return true; |
223 | } | 223 | } |
224 | 224 | ||
225 | public PresenceData VerifyAgent(UUID secureSessionID) | ||
226 | { | ||
227 | if (Instance != this) | ||
228 | return Instance.VerifyAgent(secureSessionID); | ||
229 | |||
230 | if (m_presenceData.ContainsKey(secureSessionID)) | ||
231 | { | ||
232 | return m_presenceData[secureSessionID]; | ||
233 | } | ||
234 | |||
235 | return null; | ||
236 | } | ||
237 | |||
225 | } | 238 | } |
226 | } | 239 | } |