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
commita1f03e4a9cc8bcae1eb6cf9e25b990d7b57532f8 (patch)
tree9f9d3cdf42a0d5693b1ca00d7c3428bca1257b2e
parent3d8d94df1aa69ba913514a11ffb842e9f62952ca (diff)
downloadprosody-a1f03e4a9cc8bcae1eb6cf9e25b990d7b57532f8.tar.gz
prosody-a1f03e4a9cc8bcae1eb6cf9e25b990d7b57532f8.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];