Reworks recipients.lua as static rather than (useless) instance

This commit is contained in:
Simone Mainardi 2020-09-23 15:03:07 +02:00
parent 8f7ab1af85
commit 6c1280a8e5
17 changed files with 132 additions and 166 deletions

View file

@ -614,8 +614,8 @@ function plugins_utils.loadPlugins(community_plugins_only)
ntop.reloadPeriodicScripts()
-- Mark a change in recipients so they will be automatically reloaded
local recipients = require "recipients":create()
recipients:set_recipients_change()
local recipients = require "recipients"
recipients.set_recipients_change()
-- Reload user scripts with their configurations
local user_scripts = require "user_scripts"