aboutsummaryrefslogtreecommitdiffstats
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
commit5b27b1ab9e08ddb49468474a188e97683f232335 (patch)
tree9f9d3cdf42a0d5693b1ca00d7c3428bca1257b2e
parent5820cd511ada29a82126c587bd2385bbc7b183a8 (diff)
downloadprosody-5b27b1ab9e08ddb49468474a188e97683f232335.tar.gz
prosody-5b27b1ab9e08ddb49468474a188e97683f232335.zip
modulemanager: Reduce warning to debug level message about modules already being loaded, it's probably just module:depends()
-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];