mirror of
https://github.com/opensim/opensim.git
synced 2026-06-30 02:57:02 +08:00
Add agent verification to Presence
This commit is contained in:
@@ -95,5 +95,16 @@ namespace OpenSim.Data.MySQL
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public PresenceData VerifyAgent(UUID secureSessionID)
|
||||
{
|
||||
PresenceData[] ret = Get("SecureSessionID",
|
||||
secureSessionID.ToString());
|
||||
|
||||
if (ret.Length == 0)
|
||||
return null;
|
||||
|
||||
return ret[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user