aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLPresenceData.cs
diff options
context:
space:
mode:
authorBlueWall2012-12-08 17:33:03 -0500
committerBlueWall2012-12-08 17:33:03 -0500
commitf85b23edea3af2880086d096c85838cf48dd01a4 (patch)
tree0fcd995b8dff7553cd2e7bd11b1052e86f18d5a0 /OpenSim/Data/MySQL/MySQLPresenceData.cs
parentFormat change (diff)
downloadopensim-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 '')
-rw-r--r--OpenSim/Data/MySQL/MySQLPresenceData.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLPresenceData.cs b/OpenSim/Data/MySQL/MySQLPresenceData.cs
index 7808060..577a71a 100644
--- a/OpenSim/Data/MySQL/MySQLPresenceData.cs
+++ b/OpenSim/Data/MySQL/MySQLPresenceData.cs
@@ -95,5 +95,16 @@ namespace OpenSim.Data.MySQL
95 95
96 return true; 96 return true;
97 } 97 }
98
99 public PresenceData VerifyAgent(UUID secureSessionID)
100 {
101 PresenceData[] ret = Get("SecureSessionID",
102 secureSessionID.ToString());
103
104 if (ret.Length == 0)
105 return null;
106
107 return ret[0];
108 }
98 } 109 }
99} \ No newline at end of file 110} \ No newline at end of file