From 76b4d882ae1da6d3d77f7a090852dd6e1d7f88ce Mon Sep 17 00:00:00 2001 From: Christopher Latza Date: Thu, 11 Jun 2020 00:01:35 +0200 Subject: [PATCH] change return value --- src/DataValue.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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