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
commit3dc45c12229c9f5aaf3c47081394855489a245b7 (patch)
tree9f9d3cdf42a0d5693b1ca00d7c3428bca1257b2e
parent13844f76358c641a5895ab9406c85e7d7e7ad8fa (diff)
downloadprosody-3dc45c12229c9f5aaf3c47081394855489a245b7.tar.gz
prosody-3dc45c12229c9f5aaf3c47081394855489a245b7.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];