Software /
code /
prosody
Diff
core/modulemanager.lua @ 6361:f12889981ece
modulemanager: Reduce warning to debug level message about modules already being loaded, it's probably just module:depends()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 27 Aug 2014 10:46:22 +0200 |
parent | 6034:ee14da71d3fc |
child | 6367:769a3577dd85 |
line wrap: on
line diff
--- a/core/modulemanager.lua Wed Aug 27 10:44:45 2014 +0200 +++ b/core/modulemanager.lua Wed Aug 27 10:46:22 2014 +0200 @@ -123,7 +123,7 @@ end if modulemap[host][module_name] then - log("warn", "%s is already loaded for %s, so not loading again", module_name, host); + log("debug", "%s is already loaded for %s, so not loading again", module_name, host); return nil, "module-already-loaded"; elseif modulemap["*"][module_name] then local mod = modulemap["*"][module_name];