Fixed bug with adding sims to DB4o based grid interface
parent
f2373d71f2
commit
042d69edaa
|
@ -40,9 +40,16 @@ namespace OpenGrid.Framework.Data.DB4o
|
||||||
}
|
}
|
||||||
|
|
||||||
public DataResponse AddProfile(SimProfileData profile)
|
public DataResponse AddProfile(SimProfileData profile)
|
||||||
|
{
|
||||||
|
if (manager.AddRow(profile))
|
||||||
{
|
{
|
||||||
return DataResponse.RESPONSE_OK;
|
return DataResponse.RESPONSE_OK;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return DataResponse.RESPONSE_ERROR;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) {
|
public bool AuthenticateSim(LLUUID uuid, ulong handle, string key) {
|
||||||
if (manager.profiles[uuid].regionRecvKey == key)
|
if (manager.profiles[uuid].regionRecvKey == key)
|
||||||
|
|
Loading…
Reference in New Issue