Add agent verification to Presence

This commit is contained in:
BlueWall
2012-12-08 17:33:03 -05:00
parent 77e88fab06
commit f85b23edea
4 changed files with 36 additions and 0 deletions

View File

@@ -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];
}
}
}