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/MSSQL | |
parent | Format change (diff) | |
download | opensim-SC_OLD-f85b23edea3af2880086d096c85838cf48dd01a4.zip opensim-SC_OLD-f85b23edea3af2880086d096c85838cf48dd01a4.tar.gz opensim-SC_OLD-f85b23edea3af2880086d096c85838cf48dd01a4.tar.bz2 opensim-SC_OLD-f85b23edea3af2880086d096c85838cf48dd01a4.tar.xz |
Add agent verification to Presence
Diffstat (limited to 'OpenSim/Data/MSSQL')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLPresenceData.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLPresenceData.cs b/OpenSim/Data/MSSQL/MSSQLPresenceData.cs index 8068d23..5f495ae 100644 --- a/OpenSim/Data/MSSQL/MSSQLPresenceData.cs +++ b/OpenSim/Data/MSSQL/MSSQLPresenceData.cs | |||
@@ -100,5 +100,16 @@ namespace OpenSim.Data.MSSQL | |||
100 | return true; | 100 | return true; |
101 | } | 101 | } |
102 | 102 | ||
103 | public PresenceData VerifyAgent(UUID secureSessionID) | ||
104 | { | ||
105 | PresenceData[] ret = Get("SecureSessionID", | ||
106 | secureSessionID.ToString()); | ||
107 | |||
108 | if (ret.Length == 0) | ||
109 | return null; | ||
110 | |||
111 | return ret[0]; | ||
112 | } | ||
113 | |||
103 | } | 114 | } |
104 | } | 115 | } |