Implement API to update the user scripts configuration

This commit is contained in:
emanuele-f 2019-12-16 18:38:00 +01:00
parent d59bd0e1df
commit 9fd1ced9fd
4 changed files with 91 additions and 2 deletions

View file

@ -2757,9 +2757,9 @@ function table.compare(t1, t2, ignore_mt)
end
function toboolean(s)
if s == "true" then
if((s == "true") or (s == true)) then
return true
elseif s == "false" then
elseif((s == "false") or (s == false)) then
return false
else
return nil