mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes user scripts system page
This commit is contained in:
parent
a562163681
commit
07210032e1
1 changed files with 5 additions and 0 deletions
|
|
@ -654,6 +654,11 @@ local function init_user_script(user_script, mod_fname, full_path, plugin, scrip
|
|||
user_script.hooks[hook] = callback
|
||||
end
|
||||
end
|
||||
|
||||
if not user_script.hooks then
|
||||
-- Flow user scripts no longer have hooks. They have callbacks in C++ that have replaced hooks
|
||||
user_script.hooks = {}
|
||||
end
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue