aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-08-27 10:46:22 +0200
committerKim Alvefur <zash@zash.se>2014-08-27 10:46:22 +0200
commitf61eb80c16e099a5e16d3f0068ff34fd28b47bc2 (patch)
tree9f9d3cdf42a0d5693b1ca00d7c3428bca1257b2e /core/modulemanager.lua
parent4ae6f348e49f7e58c72959016a846944ac5ed4f5 (diff)
downloadprosody-f61eb80c16e099a5e16d3f0068ff34fd28b47bc2.tar.gz
prosody-f61eb80c16e099a5e16d3f0068ff34fd28b47bc2.zip
modulemanager: Reduce warning to debug level message about modules already being loaded, it's probably just module:depends()
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index cddab647..4df95069 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -123,7 +123,7 @@ local function do_load_module(host, module_name, state)
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];