Changeset

6361:f12889981ece

modulemanager: Reduce warning to debug level message about modules already being loaded, it's probably just module:depends()
author Kim Alvefur <zash@zash.se>
date Wed, 27 Aug 2014 10:46:22 +0200
parents 6360:ffcd3992a40c
children 6362:f5f44504e18b
files core/modulemanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/modulemanager.lua	Wed Aug 27 10:44:45 2014 +0200
+++ b/core/modulemanager.lua	Wed Aug 27 10:46:22 2014 +0200
@@ -123,7 +123,7 @@
 	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];