diff --git a/src/DataValue.cs b/src/DataValue.cs index 765178d..495be1d 100644 --- a/src/DataValue.cs +++ b/src/DataValue.cs @@ -245,7 +245,7 @@ namespace OpenSim.Modules.DataValue } [ScriptInvocation] - public bool osCheckDataValue(UUID hostID, UUID scriptID, string key, string value) + public int osCheckDataValue(UUID hostID, UUID scriptID, string key, string value) { string _filePath = getFilePath(hostID, key); @@ -255,9 +255,9 @@ namespace OpenSim.Modules.DataValue FileInfo file = new FileInfo(_filePath); if (file.Exists) - return true; + return 1; - return false; + return 0; } #endregion