Allow an incoming identifier to be specified for a JsonStore.

This commit is contained in:
Mic Bowman
2012-09-11 16:42:07 -07:00
parent d53a53d4c5
commit f06394f195
3 changed files with 9 additions and 9 deletions
@@ -227,7 +227,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore
protected UUID JsonCreateStore(UUID hostID, UUID scriptID, string value)
{
UUID uuid = UUID.Zero;
if (! m_store.CreateStore(value, out uuid))
if (! m_store.CreateStore(value, ref uuid))
GenerateRuntimeError("Failed to create Json store");
return uuid;