Fixed bug with adding sims to DB4o based grid interface

This commit is contained in:
Adam Frisby
2007-05-05 23:57:43 +00:00
parent f2373d71f2
commit 042d69edaa

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) {