Merge branch 'master' into careminster

This commit is contained in:
Melanie
2012-12-09 21:27:32 +00:00
23 changed files with 1356 additions and 94 deletions

View File

@@ -95,5 +95,19 @@ namespace OpenSim.Data.MySQL
return true;
}
public bool VerifyAgent(UUID agentId, UUID secureSessionID)
{
PresenceData[] ret = Get("SecureSessionID",
secureSessionID.ToString());
if (ret.Length == 0)
return false;
if(ret[0].UserID != agentId.ToString())
return false;
return true;
}
}
}