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

@ -41,7 +41,14 @@ namespace OpenGrid.Framework.Data.DB4o
public DataResponse AddProfile(SimProfileData profile)
{
return DataResponse.RESPONSE_OK;
if (manager.AddRow(profile))
{
return DataResponse.RESPONSE_OK;
}
else
{
return DataResponse.RESPONSE_ERROR;
}
}
public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) {