add select severity to user scripts (#4919)

This commit is contained in:
gabryon99 2021-01-28 10:00:02 +01:00
parent 936911dc52
commit 26de36685a
3 changed files with 72 additions and 36 deletions

View file

@ -1023,6 +1023,8 @@ function user_scripts.updateScriptConfig(confid, script_key, subdir, new_config,
if(script) then
tprint(script)
-- Try to validate the configuration
for hook, conf in pairs(new_config) do
local valid = true