mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Mark alerts-only user scripts
Such scripts are not even loaded when alerts are disabled
This commit is contained in:
parent
52df5b25dc
commit
e3052f4b63
35 changed files with 102 additions and 1 deletions
|
|
@ -391,7 +391,6 @@ end
|
|||
|
||||
local function init_user_script(user_script, mod_fname, full_path, plugin, configs)
|
||||
user_script.key = mod_fname
|
||||
user_script.is_alert = false -- TODO fix
|
||||
user_script.path = full_path
|
||||
user_script.default_enabled = ternary(user_script.default_enabled == false, false, true --[[ a nil value means enabled ]])
|
||||
user_script.source_path = plugins_utils.getUserScriptSourcePath(user_script.path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue