diff options
-rw-r--r-- | core/modulemanager.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index f782f174..4d654ae0 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -80,7 +80,9 @@ function load_modules_for_host(host) local modules_enabled = config.get(host, "core", "modules_enabled"); if modules_enabled then for _, module in pairs(modules_enabled) do - load(host, module); + if not is_loaded(host, module) then + load(host, module); + end end end end |