change return value
parent
29174c12f2
commit
76b4d882ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue