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
commit4edabcbd81935dad5483dbcd71532b6029911921 (patch)
tree9f9d3cdf42a0d5693b1ca00d7c3428bca1257b2e /core/modulemanager.lua
parent585ce453a8cb36d7ca2b5fe79ac73baa5db41a0d (diff)
downloadprosody-4edabcbd81935dad5483dbcd71532b6029911921.tar.gz
prosody-4edabcbd81935dad5483dbcd71532b6029911921.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];