Fixed bug with adding sims to DB4o based grid interface

0.1-prestable
Adam Frisby 2007-05-05 23:57:43 +00:00
parent f2373d71f2
commit 042d69edaa
1 changed files with 8 additions and 1 deletions

View File

@ -40,9 +40,16 @@ namespace OpenGrid.Framework.Data.DB4o
}
public DataResponse AddProfile(SimProfileData profile)
{
if (manager.AddRow(profile))
{
return DataResponse.RESPONSE_OK;
}
else
{
return DataResponse.RESPONSE_ERROR;
}
}
public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) {
if (manager.profiles[uuid].regionRecvKey == key)